This is a migrated thread and some comments may be shown as answers.

[Solved] How could I use touchesBeganWithEvent in iOS?

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wei
Top achievements
Rank 2
Wei asked on 14 Mar 2015, 01:05 AM
Hi

I'm creating a module that allow user to draw in the canvas. can someone tell me how I can implement

touchesBeganWithEvent(touches: NSSet, event: UIEvent): void;
touchesMovedWithEvent(touches: NSSet, event: UIEvent): void;
touchesEndedWithEvent(touches: NSSet, event: UIEvent): void;

with Javascript in ui modules?


1 Answer, 1 is accepted

Sort by
0
Wei
Top achievements
Rank 2
answered on 14 Mar 2015, 10:31 PM
I have figured out by myself
Tags
General Discussions
Asked by
Wei
Top achievements
Rank 2
Answers by
Wei
Top achievements
Rank 2
Share this question
or