When building a custom movie player, can you choose what quality you want it to show? I have the custom movie player set up, and for the IBAction have the following code:
For what I am doing elsewhere in the app, I would like the user to select if they want high low or medium quality. How would I go about doing something like that?
Code:
-(IBAction) getVideo:(id) sender {
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.mediaTypes = [[[NSArray alloc] initWithObjects: (NSString *) kUTTypeMovie, nil] autorelease];
picker.allowsEditing = NO;
picker.wantsFullScreenLayout = YES;
picker.videoQuality = UIImagePickerControllerQualityTypeHigh;
[self presentModalViewController:picker animated:YES];
[picker release];
}