Fix swift sample. (#669)

This commit is contained in:
Erwin Zhang
2017-11-21 20:33:45 +07:00
committed by Huy Nguyen
parent 17c4d606d7
commit cb2e5ddb2d
28 changed files with 270 additions and 75 deletions

View File

@@ -25,7 +25,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
let window = UIWindow(frame: UIScreen.main.bounds)
window.backgroundColor = UIColor.white
window.rootViewController = UINavigationController(rootViewController: ViewController());
window.rootViewController = UINavigationController(rootViewController: ViewController())
window.makeKeyAndVisible()
self.window = window
return true