Contents

isDeviceMotionActive

A Boolean value that determines whether the app is receiving updates from the device-motion service.

Declaration

var isDeviceMotionActive: Bool { get }

Discussion

This property indicates whether startDeviceMotionUpdates(to:withHandler:) or startDeviceMotionUpdates() has been called since the last time stopDeviceMotionUpdates() was called.

See Also

Related Documentation

Determining Which Services Are Active