ios - Set the zoom for MKMapCamera and MKUserTrackingMode to be equal in a view controller -
i'm using both mkusertrackingmode
, mkmapcamera
in same viewcontroller able track user when they're navigating , rotate camera accordingly user travels along route. mkusertrackingmode
zooms level, 4,700 meters above current location (using iphone 6 simulator) , mkmapcamera
makes specificy eyealtitude. there way make mkmapcamera
zoom level equal mkusertrackingmode
doesn't first zoom satisfy mkmapcamera
parameter readjust accompany mkusertrackingmode
function?
mkmapcamera
in convenience init
, mkusertrackingmode
in viewdidappear
Comments
Post a Comment