Map Orientation works as this code. But compass image is not rotate as per map rotate. Please help how to make compass as here map
- (void)mapView:(NMAMapView *)mapView didReceiveRotation:(float)rotation atLocation:(CGPoint)location
{
[self.mapView setOrientation:180 withAnimation:NMAMapAnimationLinear];
_comPassImg.transform =CGAffineTransformMakeRotation(rotation);//not working smoothly
}