-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Touch MapView #35
Comments
Hello, It depends how you're handling the touch. Could you be more specific or share some code? On Mar 14, 2013, at 9:39 AM, marcllucia notifications@github.com wrote:
|
I'm using the function in the CustomMap Class:
But the function is called always, even when the user touches an annotation |
Why not attach the gesture recognizer directly to the element you with to know about? Also I believe some property of UITouch will tell you what element was touched. On Mar 14, 2013, at 9:57 AM, marcllucia notifications@github.com wrote:
|
It is not really just one element, I want to know if the user touches the background map or any of the annotations displayed in the map |
@marcllucia, are you using MapKit or something else? |
I'm using MapKit |
@marcllucia Have you resolved this issue? If not, any more detail you can provide? I'd like to close this issue otherwise. |
How can I know if the user is touching the mapview "background" or touching the annotation?
The text was updated successfully, but these errors were encountered: