tags:

views:

115

answers:

1

Hello,

How do i get the Direction from compass when i rotate my device? i have use : - (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)heading { } method but nothing is detected under heading tag?

i just want to get the direction (i.e) 90N , 180S etc..

need help Thank you.

A: 

There is no direction property, just the heading from north. You have to calculate the direction by yourself.