ios 在 Xcode 6.0 中删除启动屏幕

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26062785/
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-08-31 02:49:41  来源:igfitidea点击:

Removing Launch Screen in Xcode 6.0

iosxcodelaunch

提问by djinne95

I've created a browser app, but every time it launches, the LaunchScreen.xib pops up first for a second or so. How can I stop this screen from appearing?

我创建了一个浏览器应用程序,但每次启动时,LaunchScreen.xib 都会先弹出一秒钟左右。我怎样才能阻止这个屏幕出现?

回答by streem

Click on you project, in the Info tab you have the line "Launch screen interface file base name"

单击您的项目,在信息选项卡中,您有一行“启动屏幕界面文件基本名称”

You can just remove that line.

您可以删除该行。

回答by Ryan Tran

Maybe you can fix this by other way. You can click project, click General, in App Icons and Launch Images frame, click Launch Screen File then choose Main. Your app will start width main scrren (Main.storyboard)

也许你可以通过其他方式解决这个问题。您可以单击项目,单击常规,在应用程序图标和启动图像框架中,单击启动屏幕文件,然后选择主。您的应用程序将开始宽度主屏幕(Main.storyboard)

回答by Jitesh Middha

Go to info.plist and remove value of key "Launch screen interface file base name"

转到 info.plist 并删除键“启动屏幕界面文件基本名称”的值

回答by AAA

Go to info.plist. In that Launch Screen Interface file builder it was set to Lauchscreen.xib by default.

转到 info.plist。在那个 Launch Screen Interface 文件构建器中,它默认设置为 Lauchscreen.xib。

Don't remove that. If removed, I had a blank black space at the top or bottom of screen. Instead rename the xib file which you want to show first!

不要删除那个。如果删除,我在屏幕顶部或底部有一个空白的黑色空间。而是重命名要首先显示的 xib 文件!

回答by Pradeep Banavara

In Xcode 6.4 you can just specify Main.storboard as your launch file in the Targets -> App Icons and Launch images -> Launch Screen File.

在 Xcode 6.4 中,您可以在 Targets -> App Icons and Launch images -> Launch Screen File 中将 Main.storboard 指定为启动文件。

回答by Luc-Olivier

XCODE 10.X CHANGING STARTING XIB/STORYBOARD

XCODE 10.X 更改起始 XIB/故事板

To complete what said Pradeep Banavarahere's visualy where it stood in XCODE .

为了完成Pradeep Banavara所说的内容,这里是它在 XCODE 中的位置。

/!\ DO NOT REMOVE "Launch screen interface file base name" ENTRY OF Info.plist. The screen area will become inappropriate.

/!\ 请勿删除 Info.plist 的“启动屏幕界面文件基本名称”条目。屏幕区域将变得不合适。

回答by Suraj Sonawane

Resolved my issue:

解决了我的问题:

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/