Can i create custom touch events for iPhone?? will the device support for creating my own touch event handling ?
Can i create custom touch events for iPhone?? will the device support for creating
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.
Take a look at the UIResponder class:
http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIResponder_Class/Reference/Reference.html
You will probably want to implement the
touchesBegan:withEvent:,touchesEnded:withEvent:andtouchesCancelled:withEvent:methods. These will all be called with an NSSet of UITouches that you can do whatever you want with.