Save the filter configuration in the Network Extension preferences.
- iOS 8.0+
- macOS 10.11+
A block that takes an
NSErrorobject. This block will be executed on the caller's main thread after the save operation is complete. If the configuration could not be saved to the preferences, the error parameter will be set to an
NSErrorobject containing details about the error. See
NEFilterfor a list of possible errors. If the configuration is saved successfully then the error parameter will be set to nil.
You must call
load at least once before calling this method the first time after your app launches.