Instance Property

URLAppendStringMap

A dictionary containing strings to be appended to URLs.

Declaration

@property(copy) NSDictionary<NSString *,NSString *> *URLAppendStringMap;

Discussion

When the Filter Data Provider determines that a string should be appended to the request URL for a new flow, it creates a NEFilterNewFlowVerdict object using the URLAppendStringVerdictWithMapKey: class method. The system uses the URLAppendStringVerdictWithMapKey: method to look up the corresponding string in this dictionary. The system then appends the string to the flow’s request URL.

See Also

Handling Remediation

- handleRemediationForFlow:completionHandler:

Handle a request for remediation from the user.

remediationMap

A dictionary containing sets of strings used to customize the remediation portion of the block page.

NEFilterProviderRemediationMapRemediationButtonTexts

A key in the remediationMap dictionary. The value of this key should be set to a dictionary that maps button text string identifiers to the text to display for the remediation URL link in the block page. The button text string identifiers are defined by the Filter Control Provider app extension.

NEFilterProviderRemediationMapRemediationURLs

A key in the remediationMap dictionary. The value of this key should be set to a dictionary that maps URL identifiers to remediation URLs to be inserted into the block page. The URL identifiers are defined by the Filter Control Provider app extension.

NEFilterProviderRemediationURLFlowURL

This string will be replaced with the full URL of the flow.

NEFilterProviderRemediationURLFlowURLHostname

This string will be replaced with the hostname portion of the flow’s URL.

NEFilterProviderRemediationURLOrganization

This string will be replaced with the value of the organization property set in the filter configuration.

NEFilterProviderRemediationURLUsername

This string will be replaced with the value of the username property set in the filter configuration.