storyboard已经设置了storyboard ID还是爆这个警告

Main.storyboard: Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:.

阅读 5k
2 个回答

没有提供入口

新手上路,请多包涵

在 storyboard中 勾选上is inital View Controller 这个选项 .将这个storyboard作为程序的主入口

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进