I created a custom tableCell which is derived from TableViewCell. It only contains on property which is a MkMapView.
In the ViewDidLoad I did this.
`- (void)viewDidLoad { [super viewDidLoad];
//Accessing mapView
MapViewTableCell *mapViewCell = [[self tableView] dequeueReusableCellWithIdentifier:@"MapViewCell"];
self.mapView = mapViewCell.mapView;
self.mapView.delegate = self;
}`
Under this tableViewCell I have this
@property (nonatomic, strong) MKMapView *mapView;
So in the rest of the code I am accessing the mapView through the same way I was accessing it which is self.mapView.
But after that I just find that although through NSLog I cannot see anything wrong with my self.mapView object, its setRegion simply doesn't work and I could not update any annotation on the mapView any more.
Has anybody find such issue before?