init(for:)
Creates a provider for the specified accessory.
Declaration
init(for accessory: ASAccessory) async throwsParameters
- accessory:
The accessory that receives the shared networks list.
Return Value
A new WINetworkSharingProvider configured for the specified accessory.
Discussion
Use this initializer to establish a connection with the system for sharing networks with your accessory.