Contents

NEHotspotConfigurationManager

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

Declaration

class NEHotspotConfigurationManager

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.

Topics

Creating configurations

Getting a list of configurations

Removing configuration

Errors

Entitlements

Instance Methods

See Also

Wi-Fi network configuration