I have requirement like on my current location one view will display. It will rotate if device was rotate or location will be change.I research lot but got all the code whic
//just do this only
- (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading { double heading = newHeading.trueHeading; marker.groundAnchor = CGPointMake(0.5, 0.5); marker.rotation = heading; marker.map = mapView; }