I have a black bar problem with my display. Before I added main.storyboard
in the Launch Screen File, there are two bars at the top and bottom, but when I used File Launch Screen, there are two bars downstairs. This display on my screen:
![](https://www.manongdao.com/static/images/pcload.jpg)
My question is how do I remove the two bars downstairs? knowing that I have to use File Launch Screen and if I do not use File Launch Screen, I have another error (itm of 900,096) when I export my project.
Summary :
Not Launch Screen File: my project works fine, but I can not export to iTunes.
Screen with Launch File: there are two bars at the bottom of my screen.
So, how can I remove the two bars downstairs?
I am using an iPhone 5 (iOS 9.2) & Xcode 7.2
From far, the easiest way is to create a new project, with a LaunchScreen.storyboard, and copy the settings over.
In essence, you want to replace your old launch screen images by a storyboard. It will look something like this:
- Storyboard > Show the File inspector > Use as Launch Screen
- Storyboard > View Controller > Show the Attributes inspector > Is Initial View Controller
- Project > General > Deployment Info > Main Interface > LaunchScreen
- Repeat for [iPhone] and [iPad]
- Project > General > App Icons and Launch Images > Launch Screen File > LaunchScreen
If setup properly, your Info.plist
should have LaunchScreen .storyboard, without the .storyboard
under the UILaunchStoryboardName & UIMainStoryboardFile properties:
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>LaunchScreen</string>