My cocos2d app have shake feature, I develop shake feature using UIAccelerometer. In iOS 8 UIAccelerometer meter is not working. Can any one help me, How to detect shake Gesture in cocos2d app.
Thanks....
My cocos2d app have shake feature, I develop shake feature using UIAccelerometer. In iOS 8 UIAccelerometer meter is not working. Can any one help me, How to detect shake Gesture in cocos2d app.
Thanks....
Add this to your View Controller: