Instance Method

addContentRuleList:

Adds a list of content rules.

Declaration

- (void)addContentRuleList:(WKContentRuleList *)contentRuleList;

Parameters

contentRuleList

The rules list to add. Rules lists are created or retrieved from a WKContentExtensionStore object.

See Also

Adding and Removing Content Rules

- removeContentRuleList:

Removes a rules list.

- removeAllContentRuleLists

Removes all rules lists.

WKContentRuleList

A compiled list of rules to apply to web content.