App not using full height of iPhone 5

后端 未结 10 1744
野性不改
野性不改 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:25
    1. Create a new project (Single View Application).
    2. Drag the LaunchScreen.stroyboard into your project (Check "Copy items if needed").
    3. Select the copied "LaunchScreen.storyboard" as the "Launch Screen File".

    I tested with a no xib/storyboard app in Xcode 7 GM.

    0 讨论(0)
  • 2020-12-10 02:28

    Just came across your post while searching for something related - not sure if you've fixed it yet but I had an issue when updating my app to include retina-resolution images, and they weren't being picked up by the app.... until I spotted the Target Membership tick-box in the File Inspector for the image.

    The new images that I had added to the solution were not ticked for my app in the File Inspector, so weren't getting compiled in - once ticked, they were included and displayed in the correct context.

    0 讨论(0)
  • 2020-12-10 02:32

    You’re probably missing the Retina-4" version of your launch image; the system will launch your app in 3.5" mode if that’s not present. If you currently have, say, Default.png and Default@2x.png, add a 640x1136 version named Default-568h@2x.png.

    0 讨论(0)
  • 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..!!!

    0 讨论(0)
提交回复
热议问题