Enum describing various system services such as geo-location, local notifications, CoreMotion and HealthKit.
The items have aSee more
usageReasonattached to them which can be shown to users for explanation when requesting access. There’s also a
localizedHowToReEnablestring that instructs users on how to re-enable the respective service.
public enum SystemService: CustomStringConvertible
This step can be used to prompt the user for permissions to system services, such as CoreMotion, HealthKit and Notifications.
Use an array of
SystemServiceinstances during the step’s initialization (or manually assign to its
servicesproperty), then use the step during any
You presumably want to use the step in combination with aSee more
ConsentTask, in which case you do not need to manually interact with this class but define
ConsentTaskOptionsprovided to your
open class SystemPermissionStep: ORKStep