Swift / iOS: How to pass data from AppDelegate to ViewController label?
问题 I've got a (very) basic Universal Links test program that correctly launches from a link to the associated domain. It prints the received URL to the debug console. in AppDelegate.swift: func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { // First attempt at handling a universal link print("Continue User Activity called: ") if userActivity.activityType ==