Bearing of Current location in iOS SDK
CLLocation
has a course
property (type CLLocationDirection
) which is the bearing. From the docs:
Course values are measured in degrees starting at due north and continuing clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the direction is invalid.