I need to detect if the device is connected to WIFI:
reach = [Reachability reachabilityForLocalWiFi];
status = [reach currentReachabilityStatus];
but the status is WWAN when I connect to WIFI on iPad, and there is no SIM inserted, I am about to test the status WITH a SIM.
Does anyone know the reason?
edit:
Just tried with a SIM card, it is still recognised as ReachableViaWWAN, but the actual connection is via 3G(the server only allows 3G connection, WIFI will fail), so I guess the Reachability may vary over time?