ビデオの編集は、UIVideoEditorController
のパスで行うことができます。
UIVideoEditorController* videoEditor = [[UIVideoEditorController alloc] init];
videoEditor.delegate=self;
NSString* videoPath = [[NSBundle mainBundle] pathForResource:@"video" ofType:@"MOV"];
if ([UIVideoEditorController canEditVideoAtPath:videoPath])
{
videoEditor.videoPath = videoPath;
videoEditor.videoMaximumDuration = 10.0;
//[self.customAvPlayerView addSubview:videoEditor.view];
[self presentViewController:videoEditor animated:YES completion:nil];
}
else
{
NSLog(@"can't edit video at %@", videoPath);
}
http://www.raywenderlich.com/forums/viewtopic.php?t=11571&p=60182