Reputation: 7312
Is it possible to do gesture recognition on the Apple watch?
For instance, Apple have demonstrated using swipe gestures on the Watch, left, right, up, and down. Is it possible to capture these in a third party Watch app, and link them to methods in my WatchKit extension?
Also, is it possible to do custom gesture recognitions, such as a circle or triangle gesture?
Upvotes: 4
Views: 1863
Reputation: 20187
There is no access to swipes or other gestures or tap locations in WatchKit at present, and there is no reason to believe that is going to change before the release of the Watch.
Apple supports the use of swipe gestures to navigate forward and back through your controllers, and to scroll the views it has laid out. These are handled by the Watch OS—you only have the ability to define the segues and layout of the objects in Interface Builder and the OS takes care of the rest. There are however no equivalents to UIGestureRecognisers, so you can't use swipe gestures as gesture-based controls for other app elements at present. It is unclear whether Apple may be willing to enable this in the future, or whether they will never open this up to developers, but they are encouraging developers to submit enhancement requests via their bug reporter.
Upvotes: 2