Contents

add(_:)

Adds the specified content rule list to the content controller object.

Declaration

func add(_ contentRuleList: WKContentRuleList)

Parameters

  • contentRuleList:

    The rule list to add. Create and retrieve rules lists using a WKContentExtensionStore object.

Discussion

Call this method to apply a set of content filtering rules to your web view’s configuration.

See Also

Adding and Removing Content Rules