I have a button which moves to the user's location. I declare it in ViewControler.h and then added the following code into ViewController.m:
- (IBAction)userLocation:(id)sender {
[_mapView setCenterCoordinate:_mapView.userLocation.location.coordinate animated:YES];
}
This keeps leading me to the (0,0) coordinates. Is there something in the newer Xcode version that I need to add to make this work again?