我想检测 AppleWatch 上的触摸以获取触摸位置。因为我们可以通过使用以下委托方法在 iPhone 应用程序上实现此行为:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
//Any Logic
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
//Any Logic
}
所以,我只是在 WatchKit 上使用了这些方法,但没有用;有什么方法可以实现这种行为?
我想根据 WatchKit 上的触摸位置做一些逻辑。
任何工作方向将不胜感激。