Accelerometers have been widely planted in most current mobile devices, providing easy and intuitive operations. Through this link, we will get to introduce to a Motion Gesture Recognition system (MGRA)which is based on accelerometer data only, which is entirely performed on mobile devices and can provide users with real-time interactions.
You can also refer to another article for a better understanding of iOS Gesture recognition utilizing an accelerometer (and gyroscope).