iOS8/iphone
When setting
navigationbar.translucent = yes;
If also set
blueVC.hidesBottomBarWhenPushed = yes;
push ViewController
, navigationbar
right corner displays a black.
Test Results:
Black areas are UIWindow
by default. I changed the UIWindow
background color to white and that fixed the issue. But this just looks better, does not completely resolved.
=======================
iOS7 strange animation when using hidesBottomBarWhenPushed
self.tabBarController.tabBar.hidden=YES;
This approach will lead to push the process tabbar disappear. It does not solve the problem.
Try this code:
self.navigationController.view.backgroundColor = [UIColor whiteColor];
And I thought it is similar to this post: Dark shadow on navigation bar during segue transition after upgrading to Xcode 5.1 and iOS 7.1
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.