fvisticot
fvisticot

Reputation: 8546

startMonitoringForRegion and iOS5: is accuracy better compared to iOS4?

Can this method use background GPS for this operation ? I remember that on iOS4, the method was not very accurate (based on cell location)... Any detailled information available ?

Upvotes: 0

Views: 411

Answers (1)

Nir Golan
Nir Golan

Reputation: 1336

Short answer : No, but....
Long answer : Region monitoring works on cell+wifi analyzing by default , but by specifying a bigger radius , your app gets a callback (even if it's not suspended at the moment).

From my experience , you can use region monitoring just to cross a specific boundaries , and after entering a region you can "boost" location accuracy by using startUpdatingLocation + setting desired accuracy.

note: you should enter your code in application:didfinishLaunchingWithOptions as well , for the case where your app is not running, and of course stop updating location when crossing a boundary/recognizing an event that should return your app to previous "region monitoring" state, to conserve battery power.

Upvotes: 1

Related Questions