Remove launch screen, Xcode 7

2020-04-03 02:03发布

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.

4条回答
We Are One
2楼-- · 2020-04-03 02:10

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.

查看更多
SAY GOODBYE
3楼-- · 2020-04-03 02:15

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.

查看更多
我欲成王,谁敢阻挡
4楼-- · 2020-04-03 02:26

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

查看更多
对你真心纯属浪费
5楼-- · 2020-04-03 02:29

You can open XCode and try this:

Xcode

查看更多
登录 后发表回答