简体   繁体   中英

Removing Launch Screen in Xcode 6.0

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?

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

You can just remove that line.

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)

转到 info.plist 并删除键“启动屏幕界面文件基本名称”的值

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!

在 Xcode 6.4 中,您可以在 Targets -> App Icons and Launch images -> Launch Screen File 中将 Main.storboard 指定为启动文件。

XCODE 10.X 更改起始 XIB/故事板

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.

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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM