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?
问题:
回答1:
Click on you project, in the Info tab you have the line "Launch screen interface file base name"
You can just remove that line.
回答2:
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)
回答3:
Go to info.plist and remove value of key "Launch screen interface file base name"
回答4:
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!
回答5:
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.
回答6:
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.
回答7:
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/