Is it possible to get the wifi credentials and currently connected network from a user's iPhone?

I'm working on an IoT device, and we would like to streamline the onboarding process as much as possible.


We have looked at the Apple TV as a good example: the user just touches their phone to the device, and the Apple TV copies the login for the network the iPhone is currently connected to.


Is it possible to achieve something like this for a 3rd party device?

Yes. The best way to do this is to support Wireless Accessory Configuration (WAC) in your accessory. If you do this, getting your accessory on to the same Wi-Fi network as the user’s phone is completely seamless.

Note These’s links to WAC resources in QA1942 iOS Wi-Fi Management APIs.

If you can’t support WAC, things get much less fun )-:

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thank you for the resources. So if I understand correctly, in order to use these API's, our device would have to be certified through the MFi program, correct?

So if I understand correctly, in order to use these API's, our device would have to be certified through the MFi program, correct?

That’s my understanding as well.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Is it possible to get the wifi credentials and currently connected network from a user's iPhone?
 
 
Q