Top "Touchesbegan" questions

Use this tag for questions related to touchesBegan:withEvent, a UIResponder event-handling method in the UIKit framework and MonoTouch.

touchesBegan, touchesEnded, touchesMoved for moving UIView

I need to drag my UIView object. I use this code, but it does not work float oldX, oldY; BOOL …

ios objective-c xcode uiview touchesbegan
How to Zoom In/Out Photo on double Tap in the iPhone WWDC 2010 - 104 PhotoScroller

I am going through the Sample code of iPhone WWDC 2010 - 104 PhotoScroller App. It's working great with my project related …

iphone uiscrollview uitouch touchesbegan wwdc
How do I detect if an SKSpriteNode has been touched

I am trying to detect if my sprite node has been touched and I have no idea where to start. …

swift sprite-kit touch skspritenode touchesbegan
touchesBegan method not called in UITableViewController class in iPhone

How can I use touchesBegan: withEvent: method in UITableViewController class? UITableViewController is a subclass of UIViewController class. So why the …

iphone uitableview touchesbegan
How to make 'touchesBegan' method work for a specific view?

In my add contact page, i have a view and a scrollview on it and again a view on it. …

iphone ios uiview touchesbegan
Get the coordinates of a point from mkmapview on iphone

I'm trying to figure out how to put an annotation on a map based on where the user touches. I …

iphone mkmapview touchesbegan
How to get current touch point and previous touch point in UIPanGestureRecognizer method?

I am new to iOS, I am using UIPanGestureRecognizer in my project. In which I have a requirement to get …

ios objective-c uipangesturerecognizer uitouch touchesbegan
How do you tell what object is being touched in touchesBegan?

I know that this is a very commonly asked question, but all of the answers on every website don't work! …

ios iphone uiimageview uitouch touchesbegan
[IOS SDK]- touchesBegan with specific object?

When I touch anywhere on screen touchesBegan event triggered. but I couldn't manage how if I touch specific object as …

xcode ios4 touchesbegan nsset touchesmoved
touchesEnded not being called??? or randomly being called

If I lift my finger up off the first touch, then it will recognize the next touch just fine. It's …

iphone multi-touch uitouch touchesbegan