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 = 0Swift
case bestForNavigation = 0 -
Highest accuracy possible.
Declaration
Objective-C
SKLocationAccuracyBestSwift
case best = 1 -
Ten meters accuracy.
Declaration
Objective-C
SKLocationAccuracyNearestTenMetersSwift
case nearestTenMeters = 2 -
One hundred meters accuracy.
Declaration
Objective-C
SKLocationAccuracyHundredMetersSwift
case hundredMeters = 3 -
One kilometer accuracy.
Declaration
Objective-C
SKLocationAccuracyKilometerSwift
case kilometer = 4 -
Three kilometers accuracy.
Declaration
Objective-C
SKLocationAccuracyThreeKilometersSwift
case threeKilometers = 5
View on GitHub