Is it possible to customize the appearance of the MPMoviePlayerViewController controls when presented modally in iOS7? I really don't care for the default look in iOS7 and was wondering if I could brighten up the buttons a little bit. I figured this would be pretty basic but I can't find any documentation on it. I am presenting my MPMoviePlayerViewController from a button action. Here is my code:
-(void)playVideo:(id)sender
{
MPMoviePlayerViewController *mpvc = [[MPMoviePlayerViewController alloc]initWithContentURL:self.movieURL];
[self presentMoviePlayerViewControllerAnimated:mpvc];
[mpvc.moviePlayer play];
}
There is no documented way to adjust the appearance of the interface of MPMoviePlayerController
(or its wrapping brother, MPMoviePlayerViewController
). Apple does not support such actions.
You got two obvious options:
White Hat
A. disable the standard interface and recreate it yourself
Black Hat
B. hack into the views and adjust them
Well, there is also the option of not using MPMoviePlayerController
at all but using AVFoundation based classes directly. That will give you extreme flexibility but it will also force you to write pretty much code.