I finally found how to add pins to my image.I will use Mkannotationview and set its image property.B开发者_开发知识库ut I don't know how to add an (more) annotation(s) to it.
To add annotations:
- get the array of annotations from the map view
- make a mutable copy
- add any new annotations
- set the annotations for the map view to the modified array
精彩评论