新建一个基于Singal View Application 的工程
然后删掉storyboard,并且 .plist 中 Main storyboard file base name
复制代码
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
// Override point for customization after application launch.
self.window = UIWindow(frame:UIScreen.mainScreen().bounds)
self.window?.backgroundColor = UIColor.whiteColor();
self.window?.rootViewController = MainViewController()
self.window?.makeKeyAndVisible()
return true
}
修改时间:2016年03月21日15:24:11