message no. 112902
Posted by sR780k in #github at 2015-09-20T17:20:48Z
im trying to attach a IBaction to a shake gesture, as explained in http://www.ioscreator.com/tutorials/detect-shake-gesture-on-a-device - but how do i attach the gesture code to the already existing IBAction in my project? can i just if (motion ==UIEventTypeMotionShake) IBaction .. ?