프로젝트
GitHub에서 보기
sahin/VideoSplashKit
소개
VideoSplashKit은 배경 동영상이 있는 소개 화면을 쉽게 만들 수 있는 UIViewController 라이브러리입니다.
창작 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVideoSplashKit - Video based UIViewController

Introduction
Requires iOS 8 or later and Xcode 6.1+
Swift support uses dynamic frameworks and is therefore only supported on iOS > 8.
Installation
To install via CocoaPods add this line to your Podfile.
use_frameworks!
and
pod 'VideoSplashKit'
or if you are using Swift4
pod 'VideoSplashKit', :git => 'https://github.com/svtek/VideoSplashKit/VideoSplashKit.git', :branch => 'swift4'
Then, run the following command:
$ pod install
Usage
import VideoSplashKit
class ViewController: VideoSplashViewController {
override func viewDidLoad() {
super.viewDidLoad()
let url = NSURL.fileURLWithPath(NSBundle.mainBundle().pathForResource("test", ofType: "mp4")!)
self.videoFrame = view.frame
self.fillMode = .ResizeAspectFill
self.alwaysRepeat = true
self.sound = true
self.startTime = 12.0
self.duration = 4.0
self.alpha = 0.7
self.backgroundColor = UIColor.blackColor()
self.contentURL = url
self.restartForeground = true
}
}
Authors
| Omer Karisman Lead UI/UX @ MojiLaLa ![]() |
![]() |
Sahin Boydas Co-Founder @ MojiLaLa |
|---|
관련 프로젝트 살펴보기
불러오는 중…



