iOS-8
中MKMapview
当前用户位置没有触发,之前的iOS-7
和iOS-6
都能正常工作。
self.mapView.delegate = self;
self.mapView.showsUserLocation =YES;
在这一行中,自动调用用户当前位置委托方法。
- (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations{
}
但是它在上无法启动。