목록Video (1)
ㄷㅣㅆㅣ's Amusement
[iOS/Objective-C] Video Player tutorial using AVPlayer (AVFoundation)
오늘은 간단하게 아이폰/아이패드에서 비디오를 재생시키는 앱을 만들어보자.Today's post is about simple Video Player on iPhone/iPad. 1. 안드로이드의 비디오 뷰와 같이 사용할 수 있도록 UIView를 상속받아 비디오 레이어를 붙여준다.1. To use like an android video view, Inherit UIView and add the video layer to it.123456@import AVFoundation;#import @interface VideoView : UIView@property (strong, nonatomic) AVPlayerLayer *videoLayer;@endColored by Color Scriptercs 12345678..
Programming/iOS
2016. 2. 23. 21:59