Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   iOS and Apps (http://www.mac-forums.com/forums/ios-apps/)
-   -   GPS arrow could not disappear at iPhone's status bar in our released app version! (http://www.mac-forums.com/forums/ios-apps/272159-gps-arrow-could-not-disappear-iphones-status-bar-our-released-app-version.html)

tech_me 04-12-2012 03:00 AM

GPS arrow could not disappear at iPhone's status bar in our released app version!
 
Hello, everyone

We developed an app which using gps service for iOS 4.0+.
Once leaved our app such as returned to iPhone home screen or shifted to other app, gps would be updated in every 10 mins at background for our app.

At our development phase, the gps arrow could be disappeared just after leaving our app,
but what we are encountering now is that in release version(downloaded from AppStore), the arrow is always showing at the status bar!
So the battery cost is more faster than expectation.

What is the problem?

Thanks and best regards.

Stretch 04-12-2012 09:59 PM

Because you have it set to ping GPS every 10 minutes. Disable that and your battery life will return to normal and the arrow will disappear.

tech_me 04-13-2012 07:53 AM

Thanks for your reply, Stretch:Blushing:

Quote:

Originally Posted by Stretch (Post 1393822)
Because you have it set to ping GPS every 10 minutes. Disable that and your battery life will return to normal and the arrow will disappear.

But the concept of our app is updating user location every 10mins, so if disabled the GPS it would not work as we expected.

tech_me 04-17-2012 11:29 PM

Replied by Apple tech center:

This is not possible. Your app can use Region Monitoring to be "woken up" when a user enters or leads an area <http://developer.apple.com/library/i...09497-CH2-SW13>.
Or it can declare itself a navigation app, and keep the GPS radio turned on the entire time.
This is what an app giving turn-by-turn driving directions would do. However this drains a lot of power.:Oops:


All times are GMT -4. The time now is 02:07 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.