OpenURLMonitor
@MainActor
public final class OpenURLMonitor : NSObject
A singleton that publishes all URLs your app is asked to open.
-
Declaration
Swift
@MainActor public static let shared: OpenURLMonitor -
Declaration
Swift
@MainActor public let urlPublisher: PassthroughSubject<URL, Never> -
Declaration
Swift
@discardableResult @MainActor public func handleOpenURL(_ url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool
View on GitHub