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

Saladinos

macrumors 68000
Original poster
Feb 26, 2008
1,845
4
Hey,

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?

Thanks
 
Fixed.

Reachability returns "ReachableViaWWAN" even if 3G is disabled. If you get ReachableViaWWAN, check connectionRequired (is YES if 3G is disabled).
 
Solved my problem too

Thank you for posting your solution! I had the same problem. It solved my problem too. Thank you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.