let appDelegate = UIApplication.shared.delegate as! AppDelegate
let viewController = appDelegate.window!.rootViewController as! mainViewController; //取得當前 ViewController
取得當前 ViewController
週三, 2018-04-11 21:43
#1
取得當前 ViewController