How to detect connected WiFi has not established connection?

I turn on wifi. iPhone remembers att-wifi, boingo-hotspot, goesh, and a number of other SSIDs to which I have connected. So it automatically connects whenever it sees one such, and I am stuck in my app because I did not log in through captive portal.

Is it possible for us to detect if the phone is in wifi, and then if the connection is not established, to prompt the user to check if it is a hotspot?


Any pointer or direction would be helpful!

If the user cancels out of the captive network web sheet, the system will disassociate from Wi-Fi.

Share and Enjoy

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

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

Unfortunately, Apple has seen fit to remove this option from iOS 9+. In the past,

deprecation meant, it's being phased out and might likely fail entirely in future

iOS versions. In this case, it is completely gone. Any attempt to determine a

connection to a specific network is gone. The only option, at this point, is to

write your own network support layer and I highly doubt that would pass app

review.

How to detect connected WiFi has not established connection?
 
 
Q