xcode 从应用程序禁用启动图像

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16733920/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 03:25:28  来源:igfitidea点击:

disable launch image from the app

iosxcode

提问by arshad

i want to disable launch image from my app. I am already having a splash screen so on the app launch its showing launch image first and then the splash screen. i want to disable the launch image and just show splash screen on app launch.please help. thanks in advance

我想从我的应用程序中禁用启动图像。我已经有了启动画面,所以在应用程序启动时,首先显示启动画面,然后启动画面。我想禁用启动图像,只在应用启动时显示启动画面。请帮忙。提前致谢

回答by Buntylm

you can't as — it stays up until your program has been loaded and returned from application:didFinishLaunchingWithOptions: As Launch Image is displayed when the app loads.and the splash means you want to show some etc information. And Apple recommends using a screenshot of your app main window, so it appears that your app launch faster

你不能——它一直保持到你的程序被加载并从application:didFinishLaunchingWithOptions以下位置返回:当应用程序加载时显示启动图像。飞溅意味着你想显示一些等信息。并且 Apple 建议使用您的应用主窗口的屏幕截图,这样看起来您的应用启动速度会更快

回答by Stephane Delcroix

As you can't disable the splash, the usual hack is to make it look just like your own splash screen. It'll transition nicely from one to the other

由于您无法禁用启动画面,通常的技巧是让它看起来像您自己的启动画面。它会很好地从一个过渡到另一个

回答by RMRAHUL

Solution 1:
Check your Default.pngand [email protected]and [email protected]If that is not your file then remove from project..

解决方案1
检查Default.png[email protected][email protected]如果这不是你的文件,然后从项目中删除..

Solution 2:
Add your splashscreen Image in three types and remname as Default.pngand [email protected]and [email protected]

解决方案2
添加您的闪屏图片三种类型,并remname作为Default.png[email protected][email protected]