Initial skeleton for Universal Link handling.

This commit is contained in:
Doug
2023-09-05 17:21:53 +01:00
committed by Stefan Ceriu
parent 1a12c729de
commit b9279ce709
5 changed files with 37 additions and 15 deletions
@@ -35,6 +35,7 @@ struct Application: App {
WindowGroup {
appCoordinator.toPresentable()
.statusBarHidden(shouldHideStatusBar)
.onOpenURL { appCoordinator.handleUniversalLink($0) }
.introspect(.window, on: .iOS(.v16)) { window in
// Workaround for SwiftUI not consistently applying the tint colour to Alerts/Confirmation Dialogs.
window.tintColor = .compound.textActionPrimary