iOS应用程序启动屏幕(启动画面)是必须的吗?

时间:2022-09-10 20:20:17

Based on the following article

基于以下文章

https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/

having a launch screen aka splash screen is a must for ios app when developing. but I realised many apps such as facebook or twiter does not have any launch screen on iPhone.

在开发时,ios应用程序必须具有启动画面即启动画面。但我意识到许多应用程序,如Facebook或twiter在iPhone上没有任何启动屏幕。

I have tried removing the LaunchScreen.xib from my project on XCode (8) but I get build fail error.

我尝试从XCode(8)上的项目中删除LaunchScreen.xib,但是我遇到了构建失败错误。

Is there any way to get rid of it?

有什么方法可以摆脱它吗?

3 个解决方案

#1


2  

You must have storyboard or Launch Image.You can remove LaunchScreen.xib, but you have to add Launch Images. For using Launch Images you can try rn-splash-screen.

您必须具有故事板或启动Image。您可以删除LaunchScreen.xib,但您必须添加启动图像。要使用启动图像,您可以尝试rn-splash-screen。

#2


3  

You must have a launch screen. The reason it appears that some apps do not is that they make their launch screen look the same as the first screen that displays after launch is completed.

您必须有一个启动屏幕。一些应用程序看起来不是因为它们使启动屏幕看起来与启动完成后显示的第一个屏幕相同。

#3


2  

An iOS app must have a splash screen according to Apple documentation. Without a splash screen, Apple will reject your app. But you if removed the launch screen from your project, it will not crash when you change launch screen file as in image.

根据Apple文档,iOS应用必须具有闪屏。如果没有启动画面,Apple将拒绝您的应用。但是,如果从项目中删除了启动屏幕,则在更改启动屏幕文件时不会像在映像中那样崩溃。

iOS应用程序启动屏幕(启动画面)是必须的吗?

#1


2  

You must have storyboard or Launch Image.You can remove LaunchScreen.xib, but you have to add Launch Images. For using Launch Images you can try rn-splash-screen.

您必须具有故事板或启动Image。您可以删除LaunchScreen.xib,但您必须添加启动图像。要使用启动图像,您可以尝试rn-splash-screen。

#2


3  

You must have a launch screen. The reason it appears that some apps do not is that they make their launch screen look the same as the first screen that displays after launch is completed.

您必须有一个启动屏幕。一些应用程序看起来不是因为它们使启动屏幕看起来与启动完成后显示的第一个屏幕相同。

#3


2  

An iOS app must have a splash screen according to Apple documentation. Without a splash screen, Apple will reject your app. But you if removed the launch screen from your project, it will not crash when you change launch screen file as in image.

根据Apple文档,iOS应用必须具有闪屏。如果没有启动画面,Apple将拒绝您的应用。但是,如果从项目中删除了启动屏幕,则在更改启动屏幕文件时不会像在映像中那样崩溃。

iOS应用程序启动屏幕(启动画面)是必须的吗?