diff --git a/Classes/Controllers/BaseApp/_SceneDelegate.swift b/Classes/Controllers/BaseApp/_SceneDelegate.swift index c11f055c..bfd7536c 100644 --- a/Classes/Controllers/BaseApp/_SceneDelegate.swift +++ b/Classes/Controllers/BaseApp/_SceneDelegate.swift @@ -60,6 +60,17 @@ class _SceneDelegate: UIResponder, UIWindowSceneDelegate { // to restore the scene back to its current state. } + func scene(_ scene: UIScene, openURLContexts URLContexts: Set) { + guard let url = URLContexts.first?.url else { + return + } + let _ = BaseApp.shared.lifecycle?._openURLSourceAppAnnotation?( + url, + nil, + [UIApplication.OpenURLOptionsKey.annotation] + ) + } + func windowScene(_ windowScene: UIWindowScene, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void) { BaseApp.shared.shortcuts .first { $0.item.type == shortcutItem.type }?