I am loading my GPS controller, which is finding the user’s current location, from my app delegate, but my problem is accessing the GPS view from another view controller. How can I do that?
I am loading my GPS controller, which is finding the user’s current location, from
Share
You will have to look into
corelocationAPICore Location Tuorial
1) The location updates are received asynchronously and hence you need to respond to them immediately according to the time-stamp for
2) Always check the timestamp and compare it with current timestamp so that you can check if it is latest.
3) Stop the service once you received updates as wifi GPS etc drains battery real fast.