Reputation: 6402
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???
Upvotes: 1
Views: 2576
Reputation: 467
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
Upvotes: 0
Reputation: 58087
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.
Upvotes: 5