allow(_:completionHandler:)
Adds a previously blocked URL to the web content filter’s allow list.
Declaration
func allow(_ url: URL, completionHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)func allow(_ url: URL) async throws -> BoolParameters
- url:
The URL to unblock.
- completionHandler:
A closure that the system invokes when the add operation finishes. The closure returns
trueon success;false, otherwise.