<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "ManagedSettings",
  "identifier" : "/documentation/ManagedSettings/WebContentSettings/blockedByFilter-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Managed Settings"
    ],
    "preciseIdentifier" : "s:15ManagedSettings010WebContentB0V15blockedByFilterAC0G6PolicyOSgvp"
  },
  "title" : "blockedByFilter"
}
-->

# blockedByFilter

The current policy for filtering websites.

```
var blockedByFilter: WebContentSettings.FilterPolicy? { get set }
```

## Discussion

Setting any filter policy besides `.none` will disable Safari private browsing.
The value is `nil` unless you specify a policy.
Your app can block up to 50 web domains and
specify up to 50 web domains exceptions at once.

---

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)