Class

SFContentBlockerManager

A class used by your app to interact with a content blocker extension.

Declaration

class SFContentBlockerManager : NSObject

Overview

Use this class to determine the state of your content blocker and reload the content-blocking rules used by Safari.

Topics

Acting Based on the State of Your Content Blocker

Reloading Your Content-Blocking Rules

class func reloadContentBlocker(withIdentifier: String, completionHandler: ((Error?) -> Void)? = nil)

Tells Safari to reload the specified extension’s content-blocking rules.

Relationships

Inherits From

Conforms To

See Also

Content Blockers

Creating a Content Blocker

Create a Content Blocker for Safari in Xcode.

class SFContentBlockerState

The state of a content blocker extension.

let SFContentBlockerErrorDomain: String

The domain for content blocker errors.

Deprecated
enum SFContentBlockerErrorCode

Messages that describe a content blocker error.

Deprecated