sdalby
sdalby

Reputation: 163

iPhone: Listening to GPS regularly and battery drain

I am new to iPhone development and I have an idea for an app that requires that I record the GPS position at least every 5 minute.

Is this possible without draining the battery completely?

TIA Soeren

Upvotes: 2

Views: 79

Answers (1)

AP7
AP7

Reputation: 134

You can try using timer and turning on/off gps.

So turn on GPS,record coordinates,start timer,turn off GPS and after some interval[around 2-3 mins] turn on GPS,record location and turn off GPS...repeat...

Upvotes: 2

Related Questions