Contents

WINetworkSharingProvider

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

Declaration

class WINetworkSharingProvider

Overview

Use WINetworkSharingProvider to receive real-time updates about Wi-Fi networks the system shares with connected accessories and to present network sharing interfaces to people. The provider manages the lifecycle of network-sharing operations and coordinates between your app extension, the system, and connected accessories.

The provider delivers network updates through an async sequence that you can filter and process according to your app’s needs. Each event contains the current state of the shared networks, along with flags indicating when new networks become available or when your container app requests sharing. When networks become available for sharing or when your accessory needs additional networks, use the provider to present system UI that allows people to select and share networks. The interface can integrate with your accessory’s scan results to show signal strength and compatibility information.

Topics

Creating network sharing provider instances

Getting accessory data

Getting network updates

Getting information about access point connections

Displaying network selection

See Also

Network sharing