SKLocationAuthorization Constants Reference

Declared in SKLocationConfiguration.h

SKLocationAuthorization

These constants indicate the authorization of the Location sensor.

Definition

typedef NS_ENUM(NSUInteger, SKLocationAuthorization ) {
   SKLocationAuthorizationWhenInUse,
   SKLocationAuthorizationAlways,
};

Constants

SKLocationAuthorizationWhenInUse

Location can be acquired only when the app is running in the foreground.

Declared In SKLocationConfiguration.h.

SKLocationAuthorizationAlways

Location can be acquired even when the app is running in the background.

Declared In SKLocationConfiguration.h.

Declared In

SKLocationConfiguration.h