I am trying to implement the following method in my application
NSSet *nearbySet = [self.mapView annotationsInMapRect:self.mapView.visibleMapRect];
I see in my mapView there are 4 annotations, however, the method returns me 0 values in the set.
Can anyone advise if I have missed out on anything here?
Thanks in advance.
Zhen
Three quick things to check as a “sanity check”: