Class

SFContentBlockerManager

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

Declaration

@interface 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

+ getStateOfContentBlockerWithIdentifier:completionHandler:

Determines the state of your content blocker.

Reloading Your Content-Blocking Rules

+ reloadContentBlockerWithIdentifier:completionHandler:

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

Relationships

Inherits From

See Also

Content Blockers

Creating a Content Blocker

Create a Content Blocker for Safari in Xcode.

SFContentBlockerState

The state of a content blocker extension.

SFContentBlockerErrorDomain

The domain for content blocker errors.

Deprecated
SFContentBlockerErrorCode

Messages that describe a content blocker error.

Deprecated