iOS7 - View under status bar - edgesForExtendedLayout not working

前端 未结 7 1967
予麋鹿
予麋鹿 2020-12-28 17:30

I have a project that was built last year, and it uses XIBs, no storyboards. The XIBs do not use Auto Layout, but they do use some Autosizing. I have an issue when running

7条回答
  •  抹茶落季
    2020-12-28 17:55

    If you are using the storyboard, after setting the top layout of your view, you can uncheck the "Under Opaque Bars" in the Attributes Inspector

    Storyboard

提交回复
热议问题