NEHotspotConfiguration works well, but the error is nil both when the SSID I am trying to connect to is not available (out of range or off) or when the password I've submitted is incorrect.
What am I doing wrong? I want to be able to distinguish between these two scenarios so I can inform the user accordingly.
from iOS Swift connect WiFi programmatically and distinguish between bad password and no WiFi in range
No comments:
Post a Comment