Reputation: 2527
I am using the appearance protocol to change the appearance of all navigation bars in my application, and it works perfectly.
[[UINavigationBar appearance] setBackgroundImage:[ApplicationStyle navigationBarImage] forBarMetrics:UIBarMetricsDefault];
I do not want the navigation bar to change on the UIImagePickerController, but I want a clean way to accomplish this, any ideas?
Upvotes: 0
Views: 144
Reputation: 2256
[[UINavigationBar appearanceWhenContainedIn:[UIImagePickerController class], nil] setBackgroundImage:nil forBarMetrics:UIBarMetricsDefault];
Upvotes: 3