Contents

remove(_:)

Removes the specified rule list from the content controller object.

Declaration

func remove(_ contentRuleList: WKContentRuleList)

Parameters

  • contentRuleList:

    The rule list to remove.

Discussion

This method removes the rule list only from the user content controller object. You can still access the rule list from the WKContentRuleListStore object you used to create it.

See Also

Adding and Removing Content Rules