Wi-Fi Infrastructure
Share Wi-Fi network credentials securely between devices and connected accessories.
Overview
Companion apps that have paired an accessory with 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.