Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // viewDidLoad()
- mapview.showUserLocation = true
- mapView.userTrackingMode = RMUserTrackingModeFollow // This makes the map focus on the user point
- // mapView didUpdateUserLocation()
- mapView.zoom = 14
- mapView.centerCoordinate = userLocation.location.coordinate
- mapView.userTrackingMode = RMUserTrackingModeNone
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement