---
title: SFSafariExtensionManager
framework: safariservices
role: symbol
role_heading: Class
path: safariservices/sfsafariextensionmanager
---

# SFSafariExtensionManager

A class that your app uses to find out the current state of a Safari extension.

## Declaration

```swift
class SFSafariExtensionManager
```

## Overview

Overview In macOS, use this class to find out the current state of either a Safari app extension or Safari web extension. In iOS and visionOS, use this class to find out the current state of a Safari web extension.

## Topics

### Checking on the state of an extension

- [getStateOfSafariExtension(withIdentifier:completionHandler:)](safariservices/sfsafariextensionmanager/getstateofsafariextension(withidentifier:completionhandler:).md)
- [getStateOfExtension(withIdentifier:completionHandler:)](safariservices/sfsafariextensionmanager/getstateofextension(withidentifier:completionhandler:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Injected style sheets and scripts

- [Using injected style sheets and scripts](safariservices/using-injected-style-sheets-and-scripts.md)
- [Injecting a script into a webpage](safariservices/injecting-a-script-into-a-webpage.md)
- [Injecting CSS style sheets into a webpage](safariservices/injecting-css-style-sheets-into-a-webpage.md)
- [Passing messages between Safari app extensions and injected scripts](safariservices/passing-messages-between-safari-app-extensions-and-injected-scripts.md)
- [SFSafariExtensionHandler](safariservices/sfsafariextensionhandler.md)
- [SFSafariExtensionState](safariservices/sfsafariextensionstate.md)
- [SFSafariPageProperties](safariservices/sfsafaripageproperties.md)
- [SFSafariExtensionHandling](safariservices/sfsafariextensionhandling.md)
- [SFExtensionProfileKey](safariservices/sfextensionprofilekey.md)
