I want to show into which side the user turns the phone, like on MapView, and can’t understand how to do that, I have tried to use these options, but they can’t help me:
mapView.showsUserLocation = true
mapView.isRotateEnabled = true
mapView.isPitchEnabled = true
mapView.showsCompass = true
mapView.userTrackingMode = .follow
2
Answers
The problem was solved by this answer and the help of Asteroid, appreciated your support. My code:
Update this line: