iOS 9 Xcode 7 - Application appears with black bars on top and bottom

后端 未结 14 1584
野趣味
野趣味 2020-11-22 11:31

Installed the app on iPhone 6 iOS9 and here is what happened. Notice black bars on top and bottom. It works just fine on iOS8. How I can fix it?

I\'ve tried building

14条回答
  •  半阙折子戏
    2020-11-22 11:55

    This one is if you do not use storyboard at all.

    It occurs when you remove LaunchScreen from Launch Screen File in App icons and Launch Images.

    Instead of removing it from here go to info.plist and find Launch screen interface file base name and remove LaunchScreen, i.e. leave it blank.

    It wont show in info.plist if you have removed LaunchScreen already from Launch Screen File. Then you can give any name in Launch Screen File and it will appear and you can remove the name.

提交回复
热议问题