Remove the filter configuration from the Network Extension preferences.
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
A block that takes an
NSErrorobject. This block will be executed on the caller's main thread after the removal operation is complete. If the configuration does not exist in the Network Extension preferences or an error occurs while removing it, 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 removed successfully the error parameter will be set to nil.
After the configuration is removed from the preferences the
NEFilter object will still contain the configuration parameters. Calling
load will clear out the configuration parameters from the