---
title: Wi-Fi configuration
framework: networkextension
role: collectionGroup
role_heading: API Collection
path: networkextension/wi-fi-configuration
---

# Wi-Fi configuration

Add persistent Wi-Fi configurations, or temporarily move the device to a specific Wi-Fi network.

## Overview

Overview Using NEHotspotConfigurationManager, you can programmatically create two different types of Wi-Fi configurations: Persistent configurations, which are equivalent to the user joining a Wi-Fi network using the Settings app Join-once configurations, which temporarily move the device to a specific Wi-Fi network The user must explicitly authorize both of these operations. This API can help with a wide variety of tasks. For example, you can use it to help a user join a specific Wi-Fi network, like the hotspot at a local coffee shop, or to set up an accessory that uses Wi-Fi. NEHotspotConfigurationManager supports a variety of authentication models: SSID with no authentication SSID with password-based authentication (WEP, WPA, and WPA2) SSID with EAP authentication Hotspot 2.0 with EAP authentication NEHotspotConfigurationManager is only supported on iOS. For macOS, use the Core WLAN framework, which provides a full-featured Wi-Fi configuration and management API.

## Topics

### Essentials

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

### Wi-Fi network configuration

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

## See Also

### Wi-Fi management

- [Configuring a Wi-Fi accessory to join a network](networkextension/configuring-a-wi-fi-accessory-to-join-a-network.md)
- [Hotspot helper](networkextension/hotspot-helper.md)
