Reputation: 49077
This does not work
[self.navigationController setNavigationBarHidden:YES animated:YES];
when I have this barstyle
rootNavigationController.navigationBar.barStyle = UIBarStyleBlackTranslucent;
Is it any reason why it shouldn't animate away? Are there any fixes to this?
EDIT
This is NOT working:
[rootNavigationController.navigationBar setBarStyle:UIBarStyleBlack];
[rootNavigationController.navigationBar setTranslucent:YES];
Upvotes: 2
Views: 378
Reputation: 22701
The UIBarStyleBlackTranslucent is deprecated. Use UIBarStyleBlack and set the translucent property to YES instead.
Upvotes: 1