Reputation: 874
I have an app using MonoTouch which requires to capture GPS data every 2 mins in background. I found two ways to do it
The problem with startMonitoringSignificantLocationChanges is it doesn't get fired every 2 mins. So i cant use it. The other option of using Timer is better since it gives me a handle over time. But, will it run till my app is in the background for example one hour? Usually, ios apps gets 10 mins in background.
Thanks
Upvotes: 0
Views: 282
Reputation: 2572
UIBackgroundModes
to location
and gets current location changes in background. Battery killer yet works.Significant Location Changes
between UIApplicationLaunchOptionsLocationKey
events.Upvotes: 2