Contents

showsDeviceMovementDisplay

Controls whether the device-movement display is shown.

Declaration

var showsDeviceMovementDisplay: Bool { get set }

Discussion

When a device requires movement (for example, to calibrate the compass), the value of this property indicates if the system’s device-movement display should be shown. When a device requires movement, the block handler of type CMDeviceMotionHandler reports the CMErrorDeviceRequiresMovement error once. By default, this property is false.

See Also

Managing Device Motion Updates