Video Editing in Iphone
In my application user should be able to select a video from video library and also should able to trim the video and play开发者_运维百科 the video in a movie player. Can any one please help me???
Look into the AVFoundation framework. As you mentioned below, you want to use the UIVideoEditorController class.
Note that what you ask is only supported by the AVFoundation in iOS 4.0 and higher.
Also check out this Apple's sample project. https://developer.apple.com/library/ios/samplecode/AVSimpleEditoriOS/Introduction/Intro.html And for documentation https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVFoundationFramework/index.html#/library/ios/documentation/AVFoundation/Reference/AVFoundationFramework/_index.html
精彩评论