Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Classes/Controllers/BaseApp/_SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ class _SceneDelegate: UIResponder, UIWindowSceneDelegate {
// to restore the scene back to its current state.
}

func scene(_ scene: UIScene, openURLContexts URLContexts: Set<UIOpenURLContext>) {
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 }?
Expand Down