ios 7 UiView frame issue

前端 未结 6 1710
渐次进展
渐次进展 2021-01-31 03:26

I am running same app in iOS6 and iOS7 which has NavigationBar.It runs well on iOS6, but in iOS7, all view is little bit up like it is not considering the Navigation bar at all.

6条回答
  •  情深已故
    2021-01-31 03:51

    You should use below line for fix it in your view.

     self.edgesForExtendedLayout = UIRectEdgeNone;
    

提交回复
热议问题