iOS 7 UIToolBar Overriding With Status Bar

前端 未结 6 1455
你的背包
你的背包 2020-12-06 07:20

I have upgraded my project from iOS 6 to iOS 7 but there seems a little problem. The status bar and a tool bar is overriding and very close to each other. The tool bar was e

6条回答
  •  悲哀的现实
    2020-12-06 07:42

    Your view's top constraint should no longer be top space to superview, but rather top space top top layout guide.

    You can do this by moving the top space down beneath the status bar and then using the constraint menu to add the constraint to the nearest neighbor, which should now be the top layout guide, or you can do it as describe in this link on apple's developer library.

提交回复
热议问题