当应用程序被另一个应用程序调用时,xcode iOS 删除启动画面
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26526140/
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
xcode iOS remove splash screen when app invoked by another app
提问by Ferenc
I have an app that is using facebook login. When I press the facebook login button it takes me to the facebook app, when everything is authorised and transition from facebook app to my app starts, my app shows a splash screen for a few miliseconds.
我有一个使用 Facebook 登录的应用程序。当我按下 facebook 登录按钮时,它会将我带到 facebook 应用程序,当一切都被授权并从 facebook 应用程序过渡到我的应用程序时,我的应用程序会显示几毫秒的启动画面。
My question is: Is it possible to remove the splash screen in that case?
我的问题是:在这种情况下是否可以删除启动画面?
Thanks.
谢谢。
回答by harchi
No, iOS does not allow to change or remove the app's splash screen.
不可以,iOS 不允许更改或删除应用程序的启动画面。
回答by harchi
Remove this Entry (key,value) from your project's info.plist.
从项目的 info.plist 中删除此条目 (key,value)。
回答by Sherif ElNady
You can do it by changing the "Launch Screen file" under your target settings on the General tab, Check this link:
您可以通过更改“常规”选项卡上目标设置下的“启动屏幕文件”来完成此操作,请检查此链接:
http://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/
http://oleb.net/blog/2014/08/replacing-launch-images-with-storyboards/