SKHeadingConfiguration
Objective-C
@interface SKHeadingConfiguration : SKConfiguration
Swift
class SKHeadingConfiguration : SKConfiguration
An instance of SKHeadingConfiguration can be used to configure the Heading sensor.
-
The minimum angular change (measured in degrees) required to report new heading sensor data.
Declaration
Objective-C
@property (nonatomic) CLLocationDegrees headingFilter;Swift
var headingFilter: CLLocationDegrees { get set } -
The physical orientation of the device, used to compute the heading values more accurately.
Declaration
Objective-C
@property (nonatomic) CLDeviceOrientation headingOrientation;Swift
var headingOrientation: CLDeviceOrientation { get set } -
Allow the heading calibration alert to be displayed in the device’s screen or not.
Declaration
Objective-C
@property (nonatomic) BOOL displayHeadingCalibration;Swift
var displayHeadingCalibration: Bool { get set }
View on GitHub