Create a verdict that indicates to the system that all of the flow’s data should be dropped, and that the filtering rules have been updated.
SDKs
- iOS 9.0+
- Mac Catalyst 13.0+
Framework
- Network
Extension
Declaration
class func drop(withUpdateRules updateRules: Bool) -> NEFilter Control Verdict
Parameters
updateRules
A Boolean indicating whether or not the Filter Control Provider updated the rules.
Return Value
An NEFilter
object.
Discussion
When the Filter Control Provider passes this verdict to the completion handler passed to its handle
method, the system will drop all of the flow’s data. In addition, if the updateRules parameter is YES the system will call the Filter Data Provider’s handle
method.