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
WKContentExtensionStoreobject.
Discussion
Call this method to apply a set of content filtering rules to your web view’s configuration.