title: iphone Current location not showing
body: <p>I need help on iphone MapKit! 
  I created a simple mapview using interface builder and set the show user location to yes.
  However, the "blue dot" is not showing up on my deployed itouch! I need help on it!</p>
  
  <p>Also, anyone can advise how can i get the user current location and plot a route to another location?
  Is there no official API for us to use like how apple's map app used ? To draw the route.</p>
  
  <p>Thank you so much!</p>
  
  <p>My code.</p>
  
  <p><strong>viewDidLoad</strong></p>
  
  <pre><code>- (void)viewDidLoad {
      locationManager = [[CLLocationManager alloc] init];
      [locationManager setDelegate:self];
      [locationManager setDesiredAccuracy:kCLLocationAccuracyBest];
      [locationManager startUpdatingLocation];
      [super viewDidLoad];
  }
  </code></pre>
  
  <p><strong>locationManager:didUpdateToLocation:fromLocation:</strong></p>
  
  <pre><code>- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
  
      [mapView setMapType:MKMapTypeStandard];
      mapView.showsUserLocation = YES;
  
      MKCoordinateRegion region;
  
      CLLocationCoordinate2D location;
      location.latitude = newLocation.coordinate.latitude;
      location.longitude = newLocation.coordinate.longitude;
  
      region.center = location;
      region.span.longitudeDelta = 0.02;
      region.span.latitudeDelta = 0.02;
      [mapView setRegion:region animated:YES]; 
      [mapView setDelegate:self];
  }
  </code></pre>