How to display user location in mapkit?
- by 4thSpace
I'd like to display the blue pulsing dot for a user's location. I'm doing this:
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation{
//some other stuff here
[self.mapView setShowsUserLocation:YES];
}
But I eventually get
-[MKUserLocation establishment]: unrecognized selector sent to instance 0x125e90
Should I be doing this some other way?