|
|
@ -320,8 +320,9 @@ extension AppDelegate: UNUserNotificationCenterDelegate { |
|
|
|
self.window!.backgroundColor = UIColor.red |
|
|
|
|
|
|
|
// Create a ViewController object and set it as the scene's window's root view controller. |
|
|
|
let rootViewController = self.window!.rootViewController as! UINavigationController |
|
|
|
rootViewController.pushViewController(nav, animated: true) |
|
|
|
// let rootViewController = self.window!.rootViewController as! UINavigationController |
|
|
|
self.window?.rootViewController?.present(nav, animated: true) |
|
|
|
// rootViewController.pushViewController(nav, animated: true) |
|
|
|
|
|
|
|
// Make this scene's window be visible. |
|
|
|
// self.window!.makeKeyAndVisible() |
|
|
|