How to get coordinates when iPhone is locked/sleeping?

Posted by lionfly on Stack Overflow See other posts from Stack Overflow or by lionfly
Published on 2010-05-12T08:46:59Z Indexed on 2010/05/12 8:54 UTC
Read the original article Hit count: 234

For normal situations, the didUpdateToLocation (of CLLocationManager) does not work any more when the lock/sleep button is pushed, and your app cannot get further newLocation coordinates during the locked period.

However, some apps CAN track during the locked period, and they will show the correct route when you unlocked and see the Mapview. Obviously there are ways to get the coordinates during the locked period.

How to get the coordinates when the iPhone is locked/sleeping?

Who has hints and further info, please post. Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cllocationmanager