Connect to specific SSIDfor iPhone using QR code

17,930

Solution 1

There are multiple standards out there. The one you showed above, and the one proposed by ZXing (https://github.com/zxing/zxing/wiki/Barcode-Contents#wifi-network-config-android) are some examples.

iOS does not allow apps direct access to the Wi-Fi settings so the only way to achieve this would be to generate a provisioning profile for iOS and have the devices visit that (you will need to different barcoes for Android and for iOS). This website shows that being done: http://getonmywifi.com/signup/

Update: As of iOS 11, the built-in camera can recognize the Wi-Fi codes as proposed by ZXing and use them to connect to Wi-Fi.

Solution 2

At this point, it's not possible: Apple doesn't provide a public API to access wifi settings.

Solution 3

With the advent of iOS11 the stock camera app now recognises QR codes (including for joining a WiFi network). Safari can also recognize them in images - just tap and hold your finger over a QR code...

Also Apple's SDK has had support for reading 2D barcodes (QR,Aztec, PDF 417, Data Matrix) on iOS/OSX/tvOS for while - see: https://developer.apple.com/documentation/coreimage/cibarcodedescriptor

Share:
17,930

Related videos on Youtube

vnew
Author by

vnew

Updated on June 04, 2022

Comments