Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a UITouch object

In my iPhone app I'm overriding the touchesBegan:withEvent method in my view and what I want to do is make some tweaks to the UITouch object found in the NSSet and send it to another view. I couldn't find anywhere how to create a UITouch object.

like image 426
ForeignerBR Avatar asked Dec 09 '25 22:12

ForeignerBR


1 Answers

The way I got it to work was by categorizing the UITouch and create an init method. This blog should explain how to do it:

http://cocoawithlove.com/2008/10/synthesizing-touch-event-on-iphone.html

like image 86
ForeignerBR Avatar answered Dec 13 '25 08:12

ForeignerBR