iOS: Added accelerometer support