Shake gesture

Given there is no UIEventSubtypeMotionShake, is there an equivalent in WatchOS 2?

As far as I can tell the CoreMotion framework on watchOS 2.0 is setup entirely for recording activity and workout data. There doesn't seem to be an equivalent for the MotionShake event but it does look like you could access the accelerometer data directly and write your own "shake" detection.


Here is a link to the framework reference for CoreMotion on watchOS 2.0

https://developer.apple.com/library/prerelease/watchos/documentation/CoreMotion/Reference/CoreMotion_Reference/index.html#//apple_ref/doc/uid/TP40009686

Shake gesture
 
 
Q