<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEWebContentFilter/allow(_:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEWebContentFilter(im)allowURL:completionHandler:"
  },
  "title" : "allow(_:completionHandler:)"
}
-->

# allow(_:completionHandler:)

Adds a previously blocked URL to the web content filter’s allow list.

```
func allow(_ url: URL, completionHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)
```

```
func allow(_ url: URL) async throws -> Bool
```

## Parameters

`url`

The URL to unblock.

`completionHandler`

A closure that the system invokes when the add operation finishes. The closure returns `true` on success; `false`, otherwise.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)