ios - CLLocationManager location updating over wifi? -
i have new problem location updating in ios8.
in viewdidappear
phone call location manager:
//start location updating locationmanager = [[cllocationmanager alloc] init]; locationmanager.delegate = self; locationmanager.desiredaccuracy = kcllocationaccuracybest; [locationmanager startupdatinglocation];
however void
- (void)locationmanager:(cllocationmanager *)manager didupdatetolocation:(cllocation *)newlocation fromlocation:(cllocation *)oldlocation{ currentlocation = newlocation; }
never gets called. it's weird, i'm quite sure worked when in republic of finland still (using cellular data). i'm travelling in brasil (only using wifi) , cannot work here, totally weird. wifi access point seems known i'm confused. ideas?
the reply problem news in how ios8 handles location updating. there awesome post here: http://nevan.net/2014/09/core-location-manager-changes-in-ios-8/
ios cllocation
No comments:
Post a Comment