CenterViewController
和左侧的ViewController
都在ContainerViewController
中的设置。但是在控制台中显示如下内容:
2014-11-19 14:04:46.838 SlideTable[3612:87749] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
我也尝试了此答案,但结果相同。
这个错误是什么意思?我已经按照作者在起始项目中提供的所有必要操作进行了操作,但是没有找到任何解决方案。
这是我的项目代码:
AppDelegate.swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
window = UIWindow(frame: UIScreen.mainScreen().bounds)
let containerViewController = ContainerViewController()
window!.rootViewController = containerViewController
window!.makeKeyAndVisible()
return true
}
我有什么遗漏吗? 如果需要,我将提供更多信息。