SKLocationAccuracy

Objective-C

enum SKLocationAccuracy : NSUInteger {}

Swift

enum SKLocationAccuracy : UInt, @unchecked Sendable

These constants indicate the accuracy of the Location sensor.

  • Highest accuracy possible, combined with other sensor data. This accuracy is ideal for Navigation applications were the device can be plagged in a power source.

    Declaration

    Objective-C

    SKLocationAccuracyBestForNavigation = 0

    Swift

    case bestForNavigation = 0
  • Highest accuracy possible.

    Declaration

    Objective-C

    SKLocationAccuracyBest

    Swift

    case best = 1
  • Ten meters accuracy.

    Declaration

    Objective-C

    SKLocationAccuracyNearestTenMeters

    Swift

    case nearestTenMeters = 2
  • One hundred meters accuracy.

    Declaration

    Objective-C

    SKLocationAccuracyHundredMeters

    Swift

    case hundredMeters = 3
  • One kilometer accuracy.

    Declaration

    Objective-C

    SKLocationAccuracyKilometer

    Swift

    case kilometer = 4
  • Three kilometers accuracy.

    Declaration

    Objective-C

    SKLocationAccuracyThreeKilometers

    Swift

    case threeKilometers = 5