Removing Launch Screen in Xcode 6.0
Asked Answered
E

7

20

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?

Ebullient answered 26/9, 2014 at 15:11 Comment(2)
LaunchScreen.xib sounds like a custom view of yours. Have you tried searching for LaunchScreen in your code if it is initialized somewhere?Superstar
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.Ebullient
A
35

Click on you project, in the Info tab you have the line "Launch screen interface file base name"

You can just remove that line.

Admix answered 26/9, 2014 at 15:17 Comment(8)
I 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?Wearproof
You can check this out : #25796780Admix
When 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 startsBenedix
This crashed my project when I tried it on latest version of xcodePoundal
@MobileBloke just tried with the latest version of xcode without any problem. Do you have logs ?Admix
@justa I removed and re-added it a few times and suddenly it started working. Might have been an Xcode glitch. Thanks for followupPoundal
according to developer.apple.com/ios/human-interface-guidelines/graphics/…, Every app must supply a launch screen.Lubber
Though it might help others, for some of us, this is a disaster. DON'T USE THISForfar
E
17

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)

Eelgrass answered 19/1, 2015 at 7:23 Comment(2)
I had to uninstall the app and install it again for this to workTruscott
but 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?Malaspina
C
3

Go to info.plist and remove value of key "Launch screen interface file base name"

Casia answered 22/6, 2015 at 8:19 Comment(0)
L
3

Go to info.plist. In that Launch Screen Interface file builder it was set to Lauchscreen.xib by default.

Don't remove that. If removed, I had a blank black space at the top or bottom of screen. Instead rename the xib file which you want to show first!

Liveryman answered 21/7, 2015 at 23:31 Comment(0)
P
1

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.

Petrochemistry answered 15/7, 2015 at 2:7 Comment(1)
HI THERE. THE RIGHT INFO IS JUST HERE :-)Aerolite
A
0

XCODE 10.X CHANGING STARTING XIB/STORYBOARD

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.

Aerolite answered 27/4, 2019 at 15:1 Comment(0)
B
-1

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/

Boito answered 30/6, 2016 at 16:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.