Reachability & Networks Requiring Login

Discussion in 'iOS Programming' started by newtoiphonesdk, Apr 13, 2012.

  1. newtoiphonesdk macrumors 6502a

    Joined:
    Jul 30, 2010
    #1
    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?
     
  2. dantastic macrumors 6502a

    dantastic

    Joined:
    Jan 21, 2011
    #2
    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.
     

Share This Page