[英]root view controller at the end of application launch, defaulting to cocos2d viewcontroller instead of another storyboard view
This question is based on this tutorial 这个问题基于本教程
The linked tutorial is on how to use cocos2d along with Storyboards. 链接的教程介绍了如何与故事板一起使用cocos2d。 My problem is that, with a new and clean project and the tutorial followed perfectly, the app launches with the default cocos2d-helloworld screen instead of an interfacebuilder screen I made, and the console is logging
我的问题是,有了一个全新且干净的项目,并且教程完美地遵循了该步骤,该应用程序使用默认的cocos2d-helloworld屏幕而不是我创建的interfacebuilder屏幕启动,并且控制台正在记录
Application windows are expected to have a root view controller at the end of application launch
How do I set the intended window to be launched at the beginning instead? 如何设置要在开始时启动的预期窗口? Any tips on what the root view controller means and how to fix it?
有关根视图控制器的含义以及如何修复的任何提示?
search in that tutorial "Adding a Storyboard to your Project" there you set the main story board, this story board is the rootViewController you miss 在该教程“向项目中添加情节提要”中进行搜索,然后在其中设置主情节提要,该情节提要是您错过的rootViewController
and more lines above you can see the topic "Connecting the Storyboard View Controllers" 上面的更多行中,您可以看到“连接Storyboard View控制器”主题
maybe you can follow again the tutorial with making all steps. 也许您可以按照所有步骤再次学习本教程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.