I use UIImagePickerController to allow my user to select a video from a resource library.
When the UIImagePickerController is first displayed, it displays thumbnails for the various films that have been recorded.
As soon as the user selects a movie, it displays a βpreviewβ that allows them to play back and possibly edit the selected movie.
Is there a way to avoid displaying this view and instead return the movie that was selected on the thumbnail screen?
Here is the code I'm using:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie]; imagePicker.allowsEditing = NO; [self presentModalViewController:imagePicker animated:YES];
iphone video movie uiimagepickercontroller
Avalanchis
source share