xcode “启动屏幕可能没有触发转场。LaunchScreen.storyboard”?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33980072/
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
"Launch screens may not have triggered segues. LaunchScreen.storyboard"?
提问by Brandon
Launch screens may not have triggered segues. LaunchScreen.storyboard
启动屏幕可能没有触发 segue。LaunchScreen.storyboard
What does it mean? I am using Xcode and I am trying to do a segues.
这是什么意思?我正在使用 Xcode,并且我正在尝试执行 segues。
回答by M. Porooshani
You cannot perform segues inside a launch screen story board.
您不能在启动屏幕故事板内执行转场。
LaunhScreen.storyboard
files are static and cannot run codes, segues or other forms of animation. You should implement you UI inside Main.storyboard
or another storyboard set as your main storyboard.
LaunhScreen.storyboard
文件是静态的,不能运行代码、转场或其他形式的动画。您应该在内部实现您的 UIMain.storyboard
或将另一个故事板设置为您的主故事板。
回答by umairhhhs
You can't have segues to LaunchScreen.storyboard. Try to play with Main.storyboard.
您不能对 LaunchScreen.storyboard 进行 segue。尝试使用 Main.storyboard。
LaunchScreen.storyboard
LaunchScreen.storyboard
is for splash screen.
用于启动画面。
Main.storyboard
主故事板
for adding scenes and more.
用于添加场景等。