title: How to programmatically show user location on a MKMapView iOS?
body: <p>I'm trying to make a app that has a MKMapView, and you can turn on/off whether it shows your location or not. I'm using a UIActionSheet to let the user decide to turn it showsUserLocation on/off. The problem is not the UIActionSheet, but that I can't seem to get the MKMapView to display the user location when I select the YES option.</p>
  
  <p>Code in the <code>- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex</code> Method:</p>
  
  <pre><code>// Show User Location ActionSheet
  if (actionSheet.tag == 1) {
  
      // YES Button
      if (buttonIndex == 0) {
          MapView.showsUserLocation = YES;
  
      }
  
      // NO Button
      if (buttonIndex == 1) {
          MapView.showsUserLocation = NO;
  
      }
  
  }
  </code></pre>
  
  <p>It's not showing the User's Location, even though I press the YES button. Help please?!?!</p>