From Xojo Documentation

Property (As Boolean )
aiOSMotion.Enabled = newBooleanValue
BooleanValue = aiOSMotion.Enabled

Supported on Mobile (iOS).

Default is False. Set to True to begin asking for motion data. This should only be set to True for as long as motion data is required (in some apps, that may be constant, in others just on-demand).