Tracking location in background in iOS: standard location service vs. region monitoring -
Tracking location in background in iOS: standard location service vs. region monitoring -
i need app know user's position @ times, in background. app receives set of regions of involvement need check if user crosses. don't know size of regions beforehand, need hear location updates high accuracy. then, discard utilize of significant-change location service. moreover, need phone call service regularly info updates in background well.
so, seems there still 2 options:
1) enabling background mode location services , using standard location service
2) part monitoring, doesn`t seem require enabling background mode
however, don't find info accuracy of part monitoring. question is: taking business relationship have coordinates of regions want observe if user in, need high accuracy, , need perform regular async services calls in background if location services enabled (with timer), alternative should choose?
another thing: app has back upwards ios 5+
thanks in advance
first of all, suggest drop ios 5 support. if customer's request, suggest convince them drop this. see: the market share ios. market share ios 5 , below less 2%, time spent optimize devices not worth it.
personally, app developed in lastly 6 months, back upwards ios 7 , above.
as question, can take both options. not conflicting each other. app developed have location service in background sends current location of user server every min , same app has part monitoring offense zone. user receive notification when he/she enters zone.
for how maintain app active in background, may check thread: background location services not working in ios 7
for part monitoring, may check thread: region monitoring glitch on ios 7 - multiple notifications @ same time posted bit of code related glitch.
ios background cllocationmanager region
Comments
Post a Comment