Reachability returns wrong status

Discussion in 'iOS Programming' started by Saladinos, Jun 19, 2010.

  1. Saladinos macrumors 68000


    Feb 26, 2008

    I'm developing an iPhone app using my iPad in iPhone-mode. However, the Reachability class (latest version, 2.1) from Apple's sample is always reporting "ReachableViaWWAN", even when the device clearly is not reachable at all (e.g, in airplane mode).

    I haven't enabled 3G on my iPad for weeks, and I can turn WiFi off: Reachability is still reporting availability over WWAN. Same thing in airplane mode.

    Everything works perfectly in the simulator - reachability correctly reports if there's an internet connection or not.

    Anybody else had similar issues?

  2. Saladinos thread starter macrumors 68000


    Feb 26, 2008

    Reachability returns "ReachableViaWWAN" even if 3G is disabled. If you get ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).
  3. chester14 macrumors newbie

    Dec 1, 2009
    Solved my problem too

    Thank you for posting your solution! I had the same problem. It solved my problem too. Thank you!

Share This Page