App not using full height of iPhone 5

后端 未结 10 1751
野性不改
野性不改 2020-12-10 01:50

I have an App that was created a long time ago and updated it to use Storyboards. All the views have been rebuilt and hooked up. However, the App does not use the entire h

10条回答
  •  Happy的楠姐
    2020-12-10 02:10

    Your app has been compiled with iOS 5 or earlier and you are viewing it on a device with iOS 6 or up.

    set target of your application as iOS 7 in Xcode and use Auto layout constraints to make it work on both devices. I will suggest you to have multiple storyboard if you want to support iOS 5 or earlier because they don't have auto layout constraints.

    You need to compile your code with iOS 6 + SDK and use Auto layout constraints.

    //Edit: if you are already using iOS 6+ as your deployment target for your project

    If your iOS is set to 6 and up check your storyboard settings if your storyboard's deployment target is iOS 6 and up.

提交回复
热议问题