Hi All,
I have used GPS location updates in my application. I want to detect if the iOS device is in sleep mode so that I can turn off the GPS and optimize the battery use. I have already tried pausesLocationupdates in iOS 6, but it does not work as desired.
I want to turn off the GPS as soon as the device goes to sleep mode. Is there any way to achieve this functionality ?
Thanks in advance.
0 comments:
Post a Comment