I want to do one location update immediately when the app moves to the foreground (basically like a check in). The purple location marker on the top should appear momentarily and then go off. Can anybody point me in the right direction for this?
EDIT: What I have tried so far –
[m_coreLocationMan startUpdatingLocation];
What happens here is that the location update does take place, and the purple arrow appears, but never goes off when the update is done. I need for it to disappear after a location update is done.
I found the solution to it. It is really strange but I hope someone who runs into it might find this to be helpful –
I created a new bundle id and the error disappeared! If I use the old one, I still see the same problem!