Unable to start my application in full screen on iPhone 6.0 Simulator Retina 4 Inch

前端 未结 11 2192
逝去的感伤
逝去的感伤 2020-12-28 08:34

I have added Default-568h@2x.png to my project and set it in project settings, I have also set autoresizing options for my view and element

相关标签:
11条回答
  • 2020-12-28 08:36

    I hope this will help you but not sure that you will got touch effect in full screen, So you have to check for full touch for your application.

    Step 1: Click On Project from Navigation shown in image and click on missing file

    Step 2: In second image click on Add

    Now run project your project will run in Full iPhone 5 screen or simulator.!

    enter image description here

    0 讨论(0)
  • 2020-12-28 08:42

    did you try this?

    iOS Simulator > Hardware > Device > iPhone(Retina 4-inch)

    i just run into the same problem and this is how i solved.

    0 讨论(0)
  • 2020-12-28 08:45

    I had the same issue of part of the screen not responding to user interaction. Selecting the "Full Screen at launch" option on the MainWindow.xib fixed it for me.

    0 讨论(0)
  • 2020-12-28 08:50

    We ran into a similar issue on an app that was created back in the iOS 6 days when testing on iOS 8.

    The fix for us was setting the "Hidden" flag on MainWindow.xib.

    This is how we found out about the fix here.

    0 讨论(0)
  • 2020-12-28 08:50

    The same was happening to me. I was trying to make a video splash screen, and since I can't control the time the splash screen is shown, and was therefore unable to show the full video, I had to make a fake splash screen, which was just a controller that was shown first and then removed. That controller's view was not being shown as fullscreen no matter what I tried. In the end, I found out it was happening because I had no splash image.

    Solution: Add splash screens to your project (even if they are just black images), and the full screen problem should be fixed.

    0 讨论(0)
  • 2020-12-28 08:52

    No matter what I did, I could not get my app fullscreen.

    But after I added a file "Default-568@2x.png to my app. Now all the xib's run full screen. You can quickly test this by making a new app in XCode and copying the the black png that was created.

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