Share via


SafariServices Namespace

The SafariServices namespace provides the ability to add items to the Safari Reading List.

Classes

Name Description
SFAddToHomeScreenInfo
SFAuthenticationErrorExtensions

Extension methods for the SFAuthenticationError enumeration.

SFAuthenticationSession

A one-time web service login, shared between Safari, an app, and other associated apps.

SFContentBlockerErrorCodeExtensions

Extension methods for the SFContentBlockerErrorCode enumeration.

SFContentBlockerManager

Coordinates with Safari to load extension blocking rules.

SFContentBlockerState

Represents the enabled state of a content blocker extension.

SFErrorCodeExtensions

Extension methods for the SFErrorCode enumeration.

SFExtension
SFExtensionValidationResult

This class holds the return values for an asynchronous operation.

SFSafariApplication
SFSafariExtension
SFSafariExtensionHandler
SFSafariExtensionHandling_Extensions

Extension methods to the ISFSafariExtensionHandling interface to support all the methods from the SFSafariExtensionHandling protocol.

SFSafariExtensionViewController
SFSafariPage
SFSafariPageProperties
SFSafariSettings
SFSafariTab
SFSafariToolbarItem
SFSafariViewController

User interface for web browsing.

SFSafariViewControllerActivityButton
SFSafariViewControllerConfiguration

Configuration options for Safari view controllers.

SFSafariViewControllerDataStore
SFSafariViewControllerDelegate

Protocol for presenting a user interface for web browsing.

SFSafariViewControllerDelegate_Extensions

Extension methods to the ISFSafariViewControllerDelegate interface to support all the methods from the SFSafariViewControllerDelegate protocol.

SFSafariViewControllerPrewarmingToken
SFSafariWindow
SFUniversalLink
SFValidationResult

This class holds the return values for an asynchronous operation.

SSReadingList

Provides write-access to the Safari Reading List.

SSReadingListErrorExtensions

Extension methods for the SSReadingListError enumeration.

Interfaces

Name Description
ISFAddToHomeScreenActivityItem

This interface represents the Objective-C protocol SFAddToHomeScreenActivityItem.

ISFSafariExtensionHandling

This interface represents the Objective-C protocol SFSafariExtensionHandling.

ISFSafariViewControllerDelegate

Protocol for presenting a user interface for web browsing.

Enums

Name Description
SFAuthenticationError
SFContentBlockerErrorCode
SFErrorCode

Enumerates errors that that Safari can encounter when working with content blockers or app extensions.

SFSafariViewControllerDismissButtonStyle
SSReadingListError

An enumeration that specify possible errors associated with adding a URL to the Safari Reading List.

Delegates

Name Description
SFAddToHomeScreenActivityItemGetHomeScreenWebAppInfoCallback
SFAddToHomeScreenActivityItemGetWebAppManifestCallback
SFAuthenticationCompletionHandler

Delegate for handling the result of a user action in a SFAuthenticationSession.

SFExtensionValidationHandler
SFSafariSettingsOpenExportBrowsingDataSettingsCompletionHandler