Storyboard designed for iOS7 not going fullscreen on iOS 6 on 4 inch device

安稳与你 提交于 2019-12-10 12:45:13

问题


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:



来源:https://stackoverflow.com/questions/19399624/storyboard-designed-for-ios7-not-going-fullscreen-on-ios-6-on-4-inch-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!