Hi,
class AppDelegate: NSObject, UIApplicationDelegate, ObservableObject {
func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
print("AppDelegate: application(willFinishLaunchingWithOptions)")
return true
}
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
print("AppDelegate: application(open:options)")
return true
}
}
use scheme
simpletest://what
in Safari can bring the app from background to foreground, butapplication(open:options)
is not invoked.
application(willFinishLaunchingWithOptions)
is always called.
The Swift projct is clean and only with XCode generated demo code except the AppDelegate.
Can anybody please help?