解决方法一:
self.navigationController.navigationBar.translucent = NO;
解决方法二:
self.edgesForExtendedLayout = UIRectEdgeNone;
详细解释:http://www.superqq.com/blog/2015/10/09/uiviewcontroller-rectedge/
关于导航栏总是默认偏移64的解决方案:
最新推荐文章于 2018-08-29 14:19:00 发布
解决方法一:
self.navigationController.navigationBar.translucent = NO;
解决方法二:
self.edgesForExtendedLayout = UIRectEdgeNone;
详细解释:http://www.superqq.com/blog/2015/10/09/uiviewcontroller-rectedge/