Remove launch screen, Xcode 7

2020-04-03 01:38发布

问题:

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:

  1. click on your project

  2. go to General

  3. scroll down to App Icons and Launch Images
  4. 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.



回答4:

Simple way to remove lunch screen in IOS (react-native)

Goto project IOS directory

IOS -> Project Folder -> Base.iproj -> Open LaunchScreen.xib file

then remove < View > .... < / View > tag from file and save file