Я пытаюсь NSLog регион, span, latitudeDelta, longitudeDelta MKMapView. Но он отправляет сообщение как
Program received signal: “EXC_BAD_ACCESS”.
Мой код такой:
@interface TaetPaViewController : UIViewController <MKMapViewDelegate, CLLocationManagerDelegate, NSXMLParserDelegate> {
IBOutlet MKMapView *regionsMapView;
}
@property (nonatomic, retain) IBOutlet MKMapView *regionsMapView;
@synthesize regionsMapView;
- (void)mapView:(MKMapView *)mapView regionDidChangeAnimated:(BOOL)animated{
NSLog(@"regionsMapView.region.span.latitudeDelta: %@", regionsMapView.region.span.latitudeDelta);
}
- (void)dealloc {
[super dealloc];
[regionsMapView release];
}