<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilterManager/shouldFailClosed",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "s:16NetworkExtension18NEURLFilterManagerC16shouldFailClosedSbvp"
  },
  "title" : "shouldFailClosed"
}
-->

# shouldFailClosed

A Boolean value that determines how the filter behaves if it fails to make a filtering decision.

```
var shouldFailClosed: Bool { get set }
```

## Discussion

If this value is `true`, the filter blocks URLs if the filter is enabled but failed to make any filtering decision.
This can be the case when the filter encounters a communication failure with the PIR server.
If the value is `false`, URLs are allowed even if the filter failed to make a filtering decision.

This value defaults to `false`.

---

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)