As per the title, I've turned off Wifi on my iPhone and it has an LTE connection, yet when I call Reachability:currentReachabilityStatus it returns ReachableViaWifi. Code is:
in the init:
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(reachabilityChange:)
name:kReachabilityChangedNotification
object:nil];
_reachability = [Reachability reachabilityWithHostName:[[MYURLs defaultServerBaseURL] host]];
[_reachability startNotifier];
NetworkStatus status = [_reachability currentReachabilityStatus];
// here status is NotReachable
....
- (void) reachabilityChange: (NSNotification*) notification
{
NetworkStatus status = [self.reachability currentReachabilityStatus];
// here status is ReachableViaWifi
}
Why is the status ReachableViaWifi when Wifi is disabled?
I'm turning the wifi off before running the code.
Seems like this is a bug in iOS8 Beta as the same code produces expected results in iOS7.