문제

I'm customizing the barTintColor of my app's UINavigationBar and UIToolbar like this: [[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];

This works on iPhone5+ and in the simulator, but when I run the app on iPhone4 (iOS7), the UINavigationBar becomes completely clear as soon as I transition to another view with pushViewController.

The same issues occur when I manipulate self.navigationController.navigationBar.barTintColor instead of UINavigationBar.appearance.barTintColor.

I can partly avoid the problem by not setting the barTintColor at all, but that approach limits me to the default barTintColor and it sometimes flips to a black background on iPhone4.

How can I reliably customize barTintColor on iPhone 4?

도움이 되었습니까?

해결책

This issue seems to have been a bug, it has been resolved with iOS 7.0.3

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top