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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With