I have an application where the map view has several pins and annotations. These pins should refresh or reload based on the various sort options I have on my view. e.g. The pins represent various buildings, and the filter options are like, Library, Museum, Movie Theater, All Attractions, etc.
I have tried using
[MapView reloadInputViews];
based on the filtered array after choosing an option. But it simply does not work for me. Any ideas how this would be implemented? Thanks in advance!
Use [MKMapView removeAnnotations:]
and [MKMapView addAnnotation:]
to change the pins that are on the map.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With