How will I go about touches moved finding distance when dragging my finger. Say my finger started at point A and goes to point B which is 10 pixels and goes back to point A which will be 20 pixels all together. How will I calculate that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
after difference of CGPOint x or y axis you can get the difference