I'm having some trouble with this Media picker on iPad... I can easily recreate the problem in a fresh View-based application.
1) Create new View-Based application for iPad in XCode
2) Open the source for the View Controller and add the following
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeAnyAudio];
picker.allowsPickingMultipleItems = NO;
picker.prompt = NSLocalizedString (@"Select a song to play", "Prompt in media item picker");
[self presentModalViewController:picker animated:YES];
[picker release];
}
That's it. When I run the resulting application, I find I am unable to activate anything on the bottom tab bar. Neither am I able to select any of the bottom 4 items in the table view.
Has anyone else encountered this problem and found a way around it?
===
Also, I tried presenting the picker using the UIModalPresentationStyleFormPage mode, but while that is functional, it ends up getting displayed oddly and won't be acceptable for my app. If anyone knows a way to properly center this thing in FormPage style, that would also solve the problem, at least for me.