I've created a browser app, but every time it launches, the LaunchScreen.xib pops up first for a second or so. How can I stop this screen from appearing?
-
`LaunchScreen.xib` sounds like a custom view of yours. Have you tried searching for `LaunchScreen` in your code if it is initialized somewhere? – Sebastian Wramba Sep 26 '14 at 15:13
-
Nah, it was created with the project when I created a single-view application. I just searched my code for it, however, and it's nowhere to be found in there. – djinne95 Sep 26 '14 at 15:16
7 Answers
Click on you project, in the Info tab you have the line "Launch screen interface file base name"
You can just remove that line.

- 9,044
- 5
- 30
- 41
-
15I did it, worked fine, but after doing it my app is not full screen in iPhone 6, there is some black region in top and bottom. Can you please help me? – Bala Vishnu Oct 27 '14 at 06:31
-
1You can check this out : http://stackoverflow.com/questions/25796280/black-bars-on-launch-screen-on-iphone5-and-iphone6 – streem Oct 27 '14 at 08:37
-
4When i remove that file name it doesn't show that launchImage but for that time blank screen is going to appear. How can i set that without black screen directly my app starts – Mrugesh Tank Apr 08 '15 at 07:49
-
-
@MobileBloke just tried with the latest version of xcode without any problem. Do you have logs ? – streem Oct 07 '15 at 10:02
-
@justa I removed and re-added it a few times and suddenly it started working. Might have been an Xcode glitch. Thanks for followup – UKDataGeek Nov 02 '15 at 10:42
-
according to https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/, Every app must supply a launch screen. – Kesong Xie Aug 10 '16 at 16:34
-
Though it might help others, for some of us, this is a disaster. **DON'T USE THIS** – Nabin Apr 16 '17 at 16:16
Maybe you can fix this by other way. You can click project, click General, in App Icons and Launch Images frame, click Launch Screen File then choose Main. Your app will start width main scrren (Main.storyboard)

- 467
- 6
- 16
-
4
-
1but it displays a black screen for one sec and loads the main screen. Do you have any idea to remove the black screen in beginning of the app? – Mihir Oza Jul 18 '17 at 12:03
Go to info.plist and remove value of key "Launch screen interface file base name"

- 389
- 3
- 10
In Xcode 6.4 you can just specify Main.storboard as your launch file in the Targets -> App Icons and Launch images -> Launch Screen File.

- 983
- 2
- 11
- 33
To complete what said Pradeep Banavara here's visualy where it stood in XCODE .
/!\ DO NOT REMOVE "Launch screen interface file base name" ENTRY OF Info.plist. The screen area will become inappropriate.

- 3,715
- 2
- 29
- 29
Resolved my issue:
You can do it by changing the "Launch Screen file" under your target settings on the General tab, Check this link:
http://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/

- 2,044
- 1
- 14
- 24