authorizationStatus()
A value indicating whether the user has authorized the app to monitor and query for movement disorder data.
Declaration
class func authorizationStatus() -> CMAuthorizationStatusDiscussion
The first time your app attempts to monitor or query for movement disorder data, the manager asks the user for permission to collect or retrieve their movement disorder data. To request permission, your app must set a motion usage description in its Info.plist file. For more information, see Provide the motion usage description.