목록AVFoundation (2)
ㄷㅣㅆㅣ's Amusement
이전에 비디오 플레이어 튜토리얼을 포스팅 했으니(2016/02/23 - [프로그래밍/iOS] - [iOS/Objective-C] Video Player tutorial using AVPlayer (AVFoundation)), 여세를 몰아 오디오 플레이어도 만들어보자. Last posting is Video Player Tutorial(2016/02/23 - [프로그래밍/iOS] - [iOS/Objective-C] Video Player tutorial using AVPlayer (AVFoundation)). so We'll make a simple audio player this time. - 요구사항 1) 백그라운드에서 플레이 되어야 한다. 2) iOS의 Now Playing Info Center에 현..
오늘은 간단하게 아이폰/아이패드에서 비디오를 재생시키는 앱을 만들어보자.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..