I am developing an application in which i need to show multiples events location at same time and i have two types of events(my events and all events). I give opportunity to switch between my events and all events through segment control, First it show all events location and when user switch to my events it’ll delete or hide all events location(pins) and show my events location pins on same map view. I’ve bit confusion how to handle this to reload or refresh map view with new pins?
Share
You may try this…
/code to remove annotations instead of hiding/
When all annotations are dealt with then: