Set the scale for MKMapCamera and MKUserTrackingMode equal in the view controller
I use both MKUserTrackingMode
and MKMapCamera
in the same ViewController to be able to track the user while navigating and rotate the camera accordingly as the user travels his route. MKUserTrackingMode
approaches a certain level, about 4700 meters above your current location (using the iPhone 6 simulator) and MKMapCamera
makes you eyeAltitude specific. Is there a way to make the zoom level MKMapCamera
equal MKUserTrackingMode
so that it doesn't approach the parameter first MKMapCamera
and then rebuild to accompany the function MKUserTrackingMode
?
MKMapCamera
is in convenience init
, and MKUserTrackingMode
is inviewDidAppear
source to share
No one has answered this question yet
Check out similar questions: