Read all of the VPN configurations created by the calling app that have previously been saved to the Network Extension preferences.
- iOS 9.0+
- macOS 10.11+
A block that takes an
NETunnelobjects, and an
NSErrorobject. This block will be executed on the caller’s main thread after the load operation is complete. If no configurations exist for the calling app then the
managersparameter will be set to nil and the error parameter will be set to nil. If an error occurred while loading the configurations, the error parameter will be set to an NSError object containing details about the error. See
NEVPNManagerfor a list of possible errors.