---
title: NEHotspotConfigurationManager
framework: networkextension
role: symbol
role_heading: Class
path: networkextension/nehotspotconfigurationmanager
---

# NEHotspotConfigurationManager

A manager that applies and removes hotspot configurations of Wi-Fi networks.

## Declaration

```swift
class NEHotspotConfigurationManager
```

## Overview

Overview When your app creates a new hotspot configuration using NEHotspotConfiguration and applies it to a Wi-Fi network or attempts to update a previously configured network, the device prompts the user for approval. Without explicit user consent, your app can’t make configuration changes. Your app can use removeConfiguration(forHS20DomainName:) or removeConfiguration(forSSID:) to delete a configuration that it has added, but not a configuration added by another app or user. The user can also delete configured networks using Settings > Wi-Fi. When your app is uninstalled, iOS removes the configurations of all networks your app has configured, including their keychain entries. Hotspot Configuration Manager errors are listed in NEHotspotConfigurationError. important: To use the NEHotspotConfigurationManager class, you must enable the Hotspot Configuration capability in Xcode. For more information, see Hotspot Configuration Entitlement.

## Topics

### Creating configurations

- [shared](networkextension/nehotspotconfigurationmanager/shared.md)
- [apply(_:completionHandler:)](networkextension/nehotspotconfigurationmanager/apply(_:completionhandler:).md)

### Getting a list of configurations

- [getConfiguredSSIDs(completionHandler:)](networkextension/nehotspotconfigurationmanager/getconfiguredssids(completionhandler:).md)

### Removing configuration

- [removeConfiguration(forHS20DomainName:)](networkextension/nehotspotconfigurationmanager/removeconfiguration(forhs20domainname:).md)
- [removeConfiguration(forSSID:)](networkextension/nehotspotconfigurationmanager/removeconfiguration(forssid:).md)

### Errors

- [NEHotspotConfigurationErrorDomain](networkextension/nehotspotconfigurationerrordomain.md)
- [NEHotspotConfigurationError](networkextension/nehotspotconfigurationerror.md)

### Entitlements

- [Hotspot Configuration Entitlement](bundleresources/entitlements/com.apple.developer.networking.hotspotconfiguration.md)

### Instance Methods

- [joinAccessoryHotspot(_:passphrase:completionHandler:)](networkextension/nehotspotconfigurationmanager/joinaccessoryhotspot(_:passphrase:completionhandler:).md)
- [joinAccessoryHotspotWithoutSecurity(_:completionHandler:)](networkextension/nehotspotconfigurationmanager/joinaccessoryhotspotwithoutsecurity(_: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)

## See Also

### Wi-Fi network configuration

- [NEHotspotConfiguration](networkextension/nehotspotconfiguration.md)
- [NEHotspotEAPSettings](networkextension/nehotspoteapsettings.md)
- [NEHotspotHS20Settings](networkextension/nehotspoths20settings.md)
