cllocationmanager - Bearing of Current location in iOS SDK -


i have completed android app, used bearing value of current location. trying same app ios. did not find way bearing of current location in ios sdk?

i not looking how calculate bearing between 2 cllocationcoordinate2ds (calculating bearing between 2 cllocationcoordinate2ds).

*** need bearing of current location.

any great me.

cllocation has course property (type cllocationdirection) bearing. docs:

course values measured in degrees starting @ due north , continuing clockwise around compass. thus, north 0 degrees, east 90 degrees, south 180 degrees, , on. course values may not available on devices. negative value indicates direction invalid.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -