开发者

iPhone + UINavigationBar

开发者 https://www.devze.com 2022-12-10 09:31 出处:网络
I have UINavigationController in my application, at some point I hide NavigationBar u开发者_如何学JAVAsing following code:

I have UINavigationController in my application, at some point I hide NavigationBar u开发者_如何学JAVAsing following code:

self.navigationController.navigationBarHidden = YES;

Because of this my View is disturbed and there is a gap displayed at the bottom.


I ended up adding 20px to the view's frame height. You could try using autoresizessubviews & autoresizingmask

0

精彩评论

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

关注公众号