App not using full height of iPhone 5

后端 未结 10 1764
野性不改
野性不改 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条回答
  •  臣服心动
    2020-12-10 02:32

    I faced the same issue too. In my case I am using a MainWindow.xib file.

    And when I print the frame of Window its {0,0}{320,568} but the app did not respond to the area after 480 px.

    What I did , is to open the Mainwindow.xib file in interface builder and set full Screen at Launch option selected.

    I am attaching the screeshot where you can find this option.

    enter image description here

    this works out for me. You also try to find that If you are using a Mainwindow.xib then apply the same.

    Hope it will help you to solve your issue. Enjoy coding..!!!

提交回复
热议问题