Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var loc :CLLocationCoordinate2D = self.mapView.userLocation.coordinate
  2.        
  3.  var region = MKCoordinateRegionMakeWithDistance(loc, 5, 5)
  4.  self.mapView.setRegion(theRegion, animated: true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement