Accelerometer support on IOS.