<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEAppPushManager/loadAllFromPreferences(completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEAppPushManager(cm)loadAllFromPreferencesWithCompletionHandler:"
  },
  "title" : "loadAllFromPreferences(completionHandler:)"
}
-->

# loadAllFromPreferences(completionHandler:)

Loads all saved manager configurations asynchronously.

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

```
class func loadAllFromPreferences() async throws -> [NEAppPushManager]
```

## Parameters

`completionHandler`

A completion block that the framework calls after it loads the configurations. The `managers` parameter contains an array of all managers that the framework loads from the persistent store. This array is empty if the framework didn’t load any configurations. If loading failed, the `error` parameter indicates the reason for the failure; otherwise, this parameter is `nil`.

---

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)