Type Method

getStateOfSafariExtension(withIdentifier:completionHandler:)

Gets the current state of the Safari app extension.

Declaration

class func getStateOfSafariExtension(withIdentifier identifier: String, completionHandler: @escaping (SFSafariExtensionState?, Error?) -> Void)

Parameters

identifier

The bundle identifier for the Safari extension to check.

Discussion

This method is used by your app to check on the state of one of the Safari app extensions embedded inside it.