A dictionary containing sets of strings used to customize the remediation portion of the block page.
- iOS 9.0+
- Mac Catalyst 13.0+
Each key in this dictionary corresponds to a string in the remediation portion of the block page. The value of each key is a dictionary that maps keys to the custom strings to be inserted into the block page. The keys for the sub-dictionaries are defined by the Filter Control Provider. When the Filter Data Provider creates a "remediate" verdict using [
remediate], it specifies the keys corresponding to the desired custom strings to be inserted into the block page. The system then uses these keys to fetch the custom strings from this dictionary and inserts them into the block page.
Here is an example
With this example
remediation dictionary, suppose that the Filter Data Provider wanted to present the user with a block page containing a link to
http://www titled “Give me access”. In this case the Filter Data Provider would create a
NEFilter object like so: