---
title: "remediateVerdict(withRemediationURLMapKey:remediationButtonTextMapKey:)"
framework: networkextension
role: symbol
role_heading: Type Method
path: "networkextension/nefilternewflowverdict/remediateverdict(withremediationurlmapkey:remediationbuttontextmapkey:)"
---

# remediateVerdict(withRemediationURLMapKey:remediationButtonTextMapKey:)

Create a verdict that indicates to the system that all of the new flow’s data should be dropped, but allow the user to request access by tapping or clicking on a URL.

## Declaration

```swift
class func remediateVerdict(withRemediationURLMapKey remediationURLMapKey: String, remediationButtonTextMapKey: String) -> NEFilterNewFlowVerdict
```

## Parameters

- `remediationURLMapKey`: The key in the Filter Control Provider’s doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterControlProvider/remediationMap dictionary corresponding to the URL of the remediation link to give to the user.
- `remediationButtonTextMapKey`: The key in the Filter Control Provider’s doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterControlProvider/remediationMap dictionary corresponding to the text of the remediation link text to give to the user.

## Return Value

Return Value An NEFilterNewFlowVerdict object.

## Discussion

Discussion When the Filter Data Provider returns this verdict from its handleNewFlow: method, the system uses the verdict’s remediationURLMapKey and remediationButtonTextMapKey to look up the remediation URL parameters in the remediationMap dictionary set by the Filter Control Provider. The remediation URL parameters are then inserted into the block page which is presented to the user.

## See Also

### Creating new flow verdicts

- [allow()](networkextension/nefilternewflowverdict/allow().md)
- [drop()](networkextension/nefilternewflowverdict/drop().md)
- [pause()](networkextension/nefilternewflowverdict/pause().md)
- [filterDataVerdict(withFilterInbound:peekInboundBytes:filterOutbound:peekOutboundBytes:)](networkextension/nefilternewflowverdict/filterdataverdict(withfilterinbound:peekinboundbytes:filteroutbound:peekoutboundbytes:).md)
- [needRules()](networkextension/nefilternewflowverdict/needrules().md)
- [urlAppendStringVerdict(withMapKey:)](networkextension/nefilternewflowverdict/urlappendstringverdict(withmapkey:).md)
