Control iOS gps input -
i have problem iphone gps ; i'm trying record track not on street , each time pass near street ( @ enclosed image ) seems me gps output corrected maps data ; there way disable beahviour ? need precise point in app

to avoid "snap road" feature, set activitytype clactivitytypeothernavigation. other values (other, fitness, autonav) activitytype snap nearest road.
this advice received apple engineer @ wwdc recently. verified (on ios 7.1.2) taking 4 iphone 5 devices (one each activitytype, plus trimble gps reference) , doing extensive testing on , off roads (see map below).
we have not tested on ios 8 yet, behavior change, since undocumented.
caution: if there more 1 instance of cllocationmanager in app, must set same activitytype. if have different values, first 1 started may 1 determines how behave, had problems too. mkmapview creates own cllocationmanager, example.
here sample of our test results. orange line clactivitytypeothernavigation, blue, green , red other 3 activity types. can see blue, green , red follow center line of road, while orange line uses raw gps position.

Comments
Post a Comment