无标题文章

self.window = UIWindow(frame: UIScreen.main.bounds)

self.window?.backgroundColor = #colorLiteral(red: 0.9098039269, green: 0.4784313738, blue: 0.6431372762, alpha: 1)

self.window?.makeKeyAndVisible()

let vc = ViewController()

let navigation = UINavigationController(rootViewController: vc)

self.window?.rootViewController = navigation

你可能感兴趣的:(无标题文章)