Storyboard designed for iOS7 not going fullscreen

2019-06-16 17:00发布

问题:

I am designing my iPhone app using storyboard and auto-layout. Everything works fine in iOS 7 on both 4 inches and 3,5 inches device.

On iOS 6.1 the app runs like is always on 3,5 inches device, even if is running on a 4 inches device, the black bars on top and bottom appears.

screenshot on the simulator:

Anyone with the same issue? how can i solve this problem?

回答1:

I think are you Forget to adding splash screen Default-568h@2x.png in to you Project please check Property and set required splash-screen Default-568h@2x.png (640 × 1136 pixels)

Ones you add this image in to you working Project, Remove old Build from device or Simulatore, clear Project and re build and check Hope you issue will solve.



回答2:

Yes, i'm agree with Nitin. In XCode 5 just create e new LaunchImage Set and add the standard, retina and R4 image in both iOS version (5,6 and 7).

Remember to set this set as default in your project info.



回答3:

A quick fix is to replace Launch Images with your Storyboard. In Xcode, go to Target > General, and then: