CLHeading
public class CLHeading
Represents the heading information of a device. Apple Documentation
-
The heading relative to the magnetic North Pole.
Declaration
Swift
public let magneticHeading: Double -
The heading relative to the geographic North Pole.
Declaration
Swift
public let trueHeading: Double -
The accuracy of the heading data in degrees.
Declaration
Swift
public let headingAccuracy: Double -
The timestamp when the heading was determined.
Declaration
Swift
public let timestamp: Date -
Undocumented
Declaration
Swift
public init(magneticHeading: Double, trueHeading: Double, headingAccuracy: Double, timestamp: Date = Date())
View on GitHub