Instance Method


Start the filter.


func startFilter(completionHandler: @escaping (Error?) -> Void)



A block that must be executed when the filter is running and is ready to filter network content.


This method is called by the system to start the filter.

NEFilterProvider subclasses must override this method.

When this method is called, the Filter Provider should perform any steps necessary to initialize the filter and then execute the completionHandler block.

See Also

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