Contents

startDeviceMotionUpdates()

Starts device-motion updates without a block handler.

Declaration

func startDeviceMotionUpdates()

Discussion

You can get the latest device-motion data through the deviceMotion property. You must call stopDeviceMotionUpdates() when you no longer want your app to process device-motion updates. This method uses the reference frame returned by attitudeReferenceFrame for device-motion updates.

See Also

Managing Device Motion Updates