iOS8上/
iphone
设置时
navigationbar.translucent = yes;
如果还设置
blueVC.hidesBottomBarWhenPushed = yes;
推ViewController,导航栏右上角显示黑色.
检测结果:
默认情况下,黑色区域是UIWindow.我将UIWindow背景颜色更改为白色并修复了问题.但这只是看起来更好,并没有完全解决.
=======================
iOS7 strange animation when using hidesBottomBarWhenPushed
self.tabBarController.tabBar.hidden=YES;
解决方法
试试这段代码:
self.navigationController.view.backgroundColor = [UIColor whiteColor];
我认为它类似于这篇文章:Dark shadow on navigation bar during segue transition after upgrading to Xcode 5.1 and iOS 7.1