<!--
{
  "availability" : [
    "iOS: 26.2.0 -",
    "iPadOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiInfrastructure",
  "identifier" : "/documentation/WiFiInfrastructure",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Wi-Fi Infrastructure"
    ],
    "preciseIdentifier" : "WiFiInfrastructure"
  },
  "title" : "Wi-Fi Infrastructure"
}
-->

# Wi-Fi Infrastructure

Share Wi-Fi network credentials securely between devices and connected accessories.

## Overview

Companion apps that have paired an accessory with [AccessorySetupKit](https://developer.apple.com/documentation/accessorysetupkit/) can use the Wi-Fi™️ Infrastructure framework to share networks with their paired accessory over a local Bluetooth 4.2 Secure connection.

The Wi-Fi™ Infrastructure framework enables your app to share Wi-Fi network credentials from an iOS device to paired accessories automatically and securely. Use this framework to avoid manually entering network passwords on accessories with limited input capabilities, such as smartwatches, Internet of Things (IoT) devices, or other connected hardware that travels with people across different networks.

The framework provides a secure, encrypted sharing mechanism that respects privacy and choice. People can authorize different levels of sharing, from automatic network sharing to manual approval for each network. All network sharing occurs only when accessories are connected via Bluetooth, ensuring that the credentials a person shares are only shared when devices are physically together.

With the Wi-Fi Infrastructure framework, you can:

- Request authorization to share Wi-Fi networks with paired accessories.
- Automatically share networks when the iOS device joins them.
- Prompt people through your app to share specific networks with their accessories.
- Receive shared network credentials in your app extension.
- Present system-provided network picker interfaces.
- Handle network-sharing failures and retry with alternative networks.

> Important: You may develop and test Wi-Fi Infrastructure apps on devices in all regions. People using your app must have an account registered in the European Union (EU), and their device must be located within the EU.

## Topics

### Essentials

  <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.wifi-infrastructure>

[Sharing Wi-Fi network credentials](/documentation/WiFiInfrastructure/Sharing-Wi-Fi-network-credentials)

Use Wi-Fi Infrastructure to automatically share Wi-Fi network credentials after establishing a Bluetooth connection.

### Network sharing

[`WINetworkSharingController`](/documentation/WiFiInfrastructure/WINetworkSharingController)

A controller that enables your container app to control network-sharing functions with connected accessories.

[`WINetworkSharingProvider`](/documentation/WiFiInfrastructure/WINetworkSharingProvider)

A provider that delivers updated Wi-Fi network information to your app extension.

[`WINetworkSharingAskToShareState`](/documentation/WiFiInfrastructure/WINetworkSharingAskToShareState)

The authorization state for sharing the current Wi-Fi network with an accessory.

### Common data

[`WISSID`](/documentation/WiFiInfrastructure/WISSID)

The Service Set Identifier (SSID) for a Wi-Fi network, from which applications derive the human-readable network name.

[`WIChannel`](/documentation/WiFiInfrastructure/WIChannel)

A WiFi Channel.

[`WIMACAddress`](/documentation/WiFiInfrastructure/WIMACAddress)

A Wi-Fi MAC Address.

### Errors

[`WINetworkSharingError`](/documentation/WiFiInfrastructure/WINetworkSharingError)

Error codes for Wi-Fi network-sharing functionality.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)