title: how to start off with "my" coordinates from MKCoordinateRegion?
body: <p>i'm wondering how i can make this code work : when i click on a cell, i call the DetailViewController, which is a map with the coordinates of San Francisco. But my map shows only the "world" map, and don't go to the region i set up, do you know how i could start off with "my" coordinates?</p>
  
  <p>Here's my code :</p>
  
  <pre><code>#import "DetailViewController.h"
  
  @implementation DetailViewController
  
  @synthesize mapView;
  
  - (void) gotoLocation {
      NSLog(@"allo");
  
      //start off in San Francisco
      MKCoordinateRegion region;
      region.center.latitude = 37.786996;
      region.center.longitude = -122.440100;
      region.span.latitudeDelta = 0.112872;
      region.span.longitudeDelta = 0.109863;
  
      [self.mapView setRegion:region animated:YES];
  }
  
  - (void)viewDidLoad {
      [super viewDidLoad];
      [self gotoLocation];
  }
  
  - (void)dealloc {
      [super dealloc];
      [mapView release];
  }
  
  - (void)viewDidUnload {
      [super viewDidUnload];
      self.mapView = nil;
  }
  
  @end
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Paul</p>