Update MKMapView when app is in background
I have code in my iOS app that uses MKMapView to run certain code when the
user moves:
- (void)mapView:(MKMapView *)mapView
didUpdateUserLocation:
(MKUserLocation *)userLocation
{
// The code I want to run
}
I was wondering if it was possible to keep updating even if the app was in
the background, or if not, how to replicate this code in
CLLocationManager.
No comments:
Post a Comment