How to rotate map manually as per driving direction in MKMapView?

I want to rotate mapview while app user is on driving, Can you suggest any idea, how can I implement this?

(Like Google Maps app rotates map while we are on driving)


Thanks

Replies

Is it what you are looking for ?

a way for the map to not be always locked in the north direction


If so, may have a look here:

https://stackoverflow.com/questions/43672353/swift-3-rotate-map-with-user-direction