iphone - Change color of pin on map after pressing button on another screen -


enter image description here enter image description here enter image description here

i need find way change pin color when map loaded pushing button screen.

for example, original pins red, when go page , push map button, has lead me map view , coordinates of location have marked green pin.

i have map set , setup of making pins red.

any appreciated.

so, recap: page map red pin --> click pin, click annotation (another view opens) --> inside view, there button (eg. @"change pin color"), click button --> page map green pin opens. (look @ example above pictures.)

what should change in data represents pin. annotation. when switch map annotation redrawn , viewforannotation method called @ point check attributes , draw right colour.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -