Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

newtoiphonesdk

macrumors 6502a
Original poster
Jul 30, 2010
567
2
Does the reachability class have any methods for prompting login to networks that require ones? Like when you are at a hospital, if the first thing you open is the app but haven't logged into the network to gain internet access? Or is there another method that could accomplish this?
 
Does the reachability class have any methods for prompting login to networks that require ones? Like when you are at a hospital, if the first thing you open is the app but haven't logged into the network to gain internet access? Or is there another method that could accomplish this?

That's not what reachability does - it checks reachability under current conditions, it's not a network connectivity manager or anything.

Thinking about it as well, like the hotel example. You get re-directed to a page where you need to provide a login or something similar, there are hundreds of different systems out there so it would be immensely difficult to create a package to deal with every single one of them.

If your reachability test fails just prompt the user, that's really as much as you can do.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.