Reputation: 1977
HI..
m looking for some help regarding the Mapkit in iphone.
i've 5 annotations marked on my map,What i need to do is..i want to use two fingers,each on the annotation and the distance between these 2 annotations can be seen on map.
pinch is already available on the mapkit to zoom...so could i add this feature to the 2 finger touch???
Is it possible???
Upvotes: 0
Views: 397
Reputation: 15115
You can't add this feature to the 2 finger touch. Instead you create a button, and in the button action allow the user to select two annotations and then calculate the distance by getting the latitude and longitude value of the annotation.
Upvotes: 1