[英]Initial storyboard view controller not loading swift 3
My application was loads fine and once i have added share extension to app, its not loading initial view controller, Just showing blank screen? 我的应用程序加载正常,一旦我向应用程序添加了共享扩展名,它就没有加载初始视图控制器,只是显示空白屏幕? Any solutions?
有什么办法吗?
Do we need to use same bundle id for both app and app extension? 我们是否需要为应用程序和应用程序扩展名使用相同的捆绑包ID? I beleive, same app group is fine?
我相信,同一个应用程式群组可以吗?
Please confirm 请确认
Thanks! 谢谢!
If you are using the appDelegate to instantiate the initial ViewController 如果您使用appDelegate实例化初始ViewController
Locate your Info.plist file. 找到您的Info.plist文件。 right click > Open as > Source code
右键单击>打开为>源代码
Inside your Info.plist file remove : 在您的Info.plist文件中,删除:
<key>UIMainStoryboardFile</key> <string>Main</string>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.