media player's navigation bar should ignore UIBarButtonItem appearance

Originator:an00na
Number:rdar://11296843 Date Originated:22-Apr-2012 03:23 PM
Status:Open Resolved:
Product:iPhone SDK Product Version:5.1
Classification:UI/Usability Reproducible:Not Applicable
 
I have customized appearances of navigation bar and button items, using [UINavigationBar appearance] and [UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], nil].

The media player opened for video in UIWebView would inherit the appearance of UIBarButtonItem but not that of UINavigationBar. It results in a ugly default black navigation bar carrying not-fit-at-all customized 
UIBarButtonItems.

I tried using [UIBarButtonItem appearanceWhenContainedIn:[UINavigationBar class], [MPMoviePlayerViewController class], nil] to revert my customization for media player, but to no avail.

So, please make inline media players of web view ignore UINavigationBar appearance.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!