iPhone "touchesBegan" and "touchesMoved" message ... do not move to centre of touch
Posted
by Nippysaurus
on Stack Overflow
See other posts from Stack Overflow
or by Nippysaurus
Published on 2010-03-13T13:33:25Z
Indexed on
2010/03/13
13:35 UTC
Read the original article
Hit count: 318
I am modifying the "MoveMe" example from the apple web site. When I get the "touchesMoved" message I move the centre of the target view to the centre of the touch.
Is there a way that when the touch starts ("touchesBegan" message) I can remember the offset from the target view and keep that offset.
Let me know if this is hard to understand and I will try to explain it a bit better.
© Stack Overflow or respective owner