美文网首页
设置hidesBottomBarWhenPushed = YES

设置hidesBottomBarWhenPushed = YES

作者: 烟影很美 | 来源:发表于2016-04-01 13:44 被阅读545次

在一个有TabBarController和NavigationController的工程中, 如下设置后

设置navigationBar的背景色 在push的时候设置viewController的hidesBottomBarWhenPushed的属性

导航出现一个BUG:

导航栏BUG

原因:

NavigationController设置了阴影

在以上三部分设置后, 还没有办法解决这个bug, 目前只能去掉其中一项(不过这个bug在手机上并不明显)

=================================

2016-10-17续:

这个BUG跑到左上角去了:

解决办法: 

相关文章

网友评论

      本文标题:设置hidesBottomBarWhenPushed = YES

      本文链接:https://www.haomeiwen.com/subject/cdrylttx.html