Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect finger touches movement on AppleWatch

I want to detect touches on AppleWatch to get touch location. As we can achieve this behaviour on iPhone app by using following delegate methods:

- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
    //Any Logic
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    //Any Logic
}

So, i just used these methods on WatchKit but not working; Any way to achieve this behaviour?

I want to make some logic on the basis of touch location on WatchKit.

Any direction of work will be appreciated.

like image 480
msmq Avatar asked Nov 22 '25 01:11

msmq


1 Answers

At the moment (I don't know if things change in the future), there are no touch recognisers like that for WatchKit. You can just respond on taps on buttons or a menu with a selector.

like image 142
Duyen-Hoa Avatar answered Nov 24 '25 19:11

Duyen-Hoa