开发者

Creating a UITouch object

开发者 https://www.devze.com 2022-12-14 10:01 出处:网络
In my iPhone app I\'m overriding the touchesBegan:withEvent method in my view and what I want to do开发者_如何学JAVA is make some tweaks to the UITouch object found in the NSSet and send it to another

In my iPhone app I'm overriding the touchesBegan:withEvent method in my view and what I want to do开发者_如何学JAVA 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消