问题
I can find a bunch of answers from pre-2014 about removing the launch/splash screen by removing the line "Launch screen interface file base name", but in this project on Xcode 7, there is no such line in my info tab.
Is there any way to remove the launch/splash screen in another way in Xcode 7? This is in Objective-C by the way.
回答1:
Contrary to an answer I received, you CAN disable the splash/launch screen. To do so:
click on your project
go to General
- scroll down to App Icons and Launch Images
- Change "Launch Screen File" to whatever your first view controller is, i.e. MainViewController
Your first view controller will now display instead of the Launch Image.
回答2:
You can open XCode and try this:
回答3:
You need to create a storyboard (not a xib file) and then add it to Launch Screen File. Then you can have your custom splash view controller inside it.
Remember to mark your splash view controller as Is Initial View Control.
来源:https://stackoverflow.com/questions/37975826/remove-launch-screen-xcode-7