iOS 7 Status Bar Collides With NavigationBar

前端 未结 17 1287
攒了一身酷
攒了一身酷 2020-11-28 03:14

I have a view controller in my app that has a navigation bar dragged on it in the storyboard. It was working fine in the iOS 6 but in iOS 7 it look like this:

17条回答
  •  借酒劲吻你
    2020-11-28 03:50

    You can probably create constraints that are attached to the top layout guide to specify the navigation bar's position relative to the status bar. See the iOS 7 UI Transition Guide: Appearance and Behavior section for more information about using the layout guides.

提交回复
热议问题