I am having some trouble changing the navigation bar of the MPMediaPickerController. I understand that the Apple Documentation says that:
This class does support subclassing. The view hierarchy for this class is private; do not modify the view hierarchy.
Does this mean that in iOS 7 we are stuck with a black transparent bar style? Does it not support different Navigation Bar styles or a different background image?
I have tried some simple changes to the pickers navigation controller with no avail:
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeMusic];
picker.delegate = self;
UIImage* bgImage = [[UIImage imageNamed: @"header" ] imageWithRenderingMode: UIImageRenderingModeAlwaysOriginal];
[picker.navigationController.navigationBar setBackgroundImage: bgImage forBarMetrics: UIBarMetricsDefault];
[picker.navigationController.navigationBar setBarStyle: UIBarStyleBlackOpaque];
[self presentViewController: picker animated: YES completion: nil];
Additionally, the changes made to the applications Navigation bar appearance proxy does not seem to propigate to the media picker either..
Any thoughts?
Thanks!