<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NETransparentProxyManager/loadAllFromPreferences(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NETransparentProxyManager(cm)loadAllFromPreferencesWithCompletionHandler:"
  },
  "title" : "loadAllFromPreferences(completionHandler:)"
}
-->

# loadAllFromPreferences(completionHandler:)

Loads all previously-saved transparent proxy configurations.

```
class func loadAllFromPreferences(completionHandler: @escaping @Sendable ([NETransparentProxyManager]?, (any Error)?) -> Void)
```

## Parameters

`completionHandler`

A Swift closure or an ObjectiveC block that receives as parameters
an array of transparent proxy manager instances loaded from disk and an error.
If the error is `nil`, no error occurred.

## Discussion

This method asychronously reads all previously-saved transparent proxy configurations associated with the calling app.

---

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)