Type Method

shared()

Access the single instance of NEVPNManager.

Declaration

class func shared() -> NEVPNManager

Return Value

The NEVPNManager instance for the calling application.

See Also

Managing VPN Configurations

func loadFromPreferences(completionHandler: (Error?) -> Void)

Load the VPN configuration from the Network Extension preferences.

func saveToPreferences(completionHandler: ((Error?) -> Void)?)

Save the VPN configuration in the Network Extension preferences.

func removeFromPreferences(completionHandler: ((Error?) -> Void)?)

Remove the VPN configuration from the Network Extension preferences.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software