Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newtoiphonesdk

macrumors 6502a
Original poster
Jul 30, 2010
567
2
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:
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];
}
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?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.