ios - How to tell when CLLocationManager has a lock on the users location -


if cllocationmanager semi working in app. start locationmanager, set delegate, , accuracy. once location manager starts map shows me in ocean?

is there way know when cllocationmanager has lock?

i have following method setup, doesn't called unless walk few steps.

-(void)locationmanager:(cllocationmanager *)manager didupdatelocations:(nsarray *)locations 

i have verified running on main thread.

look @ horizontalaccuracy property of cllocation objects receive in didupdatelocations. on device, when first start location services, you'll notice series of locations coming in decreasing horizontalaccuracy values (i.e. more , more accurate location values). it's not question of when "locks in", rather when receive location horizontalaccuracy sufficiently small app's purposes.

in terms of method not getting called until move, function of desiredaccuracy , distancefilter values use.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -