Handle deep links.

This commit is contained in:
Tim Johnsen 2024-04-25 10:01:44 -07:00
parent d1cf45c6a1
commit fb42b80276
No known key found for this signature in database

View File

@ -19,4 +19,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
#endif #endif
return true return true
} }
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
if url.scheme == "yattee" {
OpenURLHandler.handle(url)
}
return false
}
} }