Instance Method

add(_:)

Adds a list of content rules.

Declaration

func add(_ contentRuleList: WKContentRuleList)

Parameters

contentRuleList

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

See Also

Adding and Removing Content Rules

func remove(WKContentRuleList)

Removes a rules list.

func removeAllContentRuleLists()

Removes all rules lists.

class WKContentRuleList

A compiled list of rules to apply to web content.