Sam*_*Dos 9 uinavigationbar uitabbarcontroller uinavigationcontroller uitabbar ios
我UINavigationController
在里面使用UITabBarController
,我的导航控制器中的一个屏幕是一个UIImageView
.当我想要全屏显示图像时,我必须隐藏导航栏和标签栏.我可以正确隐藏导航栏但是当我隐藏标签栏时,它会留下50px的空白区域.有什么建议吗?
谢谢你,我找到了解决问题的最佳方案.
MyImageViewController.hidesBottomBarWhenPushed = YES ;
[self.navigationController pushViewController:MyImageViewController animated:YES];
Run Code Online (Sandbox Code Playgroud)
它给了我想要的回应.谢谢你的分享
归档时间: |
|
查看次数: |
5059 次 |
最近记录: |