开发者

Navigationbar does not animate when using translucent barstyle

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 setB开发者_Python百科arStyle:UIBarStyleBlack];
[rootNavigationController.navigationBar setTranslucent:YES];


The UIBarStyleBlackTranslucent is deprecated. Use UIBarStyleBlack and set the translucent property to YES instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜