Swift 3 - 实现简单的RootViewControlle
作者:
Hero_Guo | 来源:发表于
2017-03-02 23:21 被阅读0次var rootVC: RootViewController?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
self.window?.backgroundColor = UIColor.white
self.window? = UIWindow(frame: UIScreen.main.bounds)
self.window?.makeKeyAndVisible()
self.rootVC = RootViewController()
self.window?.rootViewController = self.rootVC
return true
}
本文标题:Swift 3 - 实现简单的RootViewControlle
本文链接:https://www.haomeiwen.com/subject/cjxlgttx.html
网友评论