title: CLLocation Manager startUpdatingLocation not starting
body: <p>I have been following this tutorial <a href="http://www.devfright.com/ios-6-core-location-tutorial/" rel="nofollow">http://www.devfright.com/ios-6-core-location-tutorial/</a> to add location services to my ios app. I have imported the Corelocation in my TestFileViewController.h file like so:</p>
  
  <pre><code> #import &lt;UIKit/UIKit.h&gt;
   #import &lt;FacebookSDK/FacebookSDK.h&gt;
   #import &lt;CoreLocation/CoreLocation.h&gt;
  
   @interface TestFileViewController : UIViewController &lt;UITableViewDelegate,UITableViewDataSource, NSStreamDelegate&gt;
  
   @property (nonatomic, strong) CLLocationManager *locationManager;
  
   @end
  </code></pre>
  
  <p>and then in the testFileViewController.m ViewDidLoad I added (remembering to implement the CLLocationManagerDelegate):</p>
  
  <pre><code>//start checking for location from CoreLocation Framework (currently not working)
  if ([CLLocationManager locationServicesEnabled])
  {
      NSLog(@"location services enabled");
      _locationManager = [[CLLocationManager alloc] init];
      _locationManager.desiredAccuracy = kCLLocationAccuracyBest;
      _locationManager.delegate = self;
      [_locationManager startUpdatingLocation];
  };
  
  }
  </code></pre>
  
  <p>(conditional CLLocationManager executes true and NSLogs) and then right below ViewDidLoad:</p>
  
  <pre><code>    //fail to find location, handle error
      - (void)locationManager:(CLLocationManager *)manager didFailWithError:(NSError         *)error
       {
        NSLog(@"didFailWithError: %@", error);
        UIAlertView *errorAlert = [[UIAlertView alloc]
                             initWithTitle:@"Error" message:@"Failed to Get Your Location"    delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
         [errorAlert show];
        }
  
        //show found location, return NSLOG for proof
        - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:            (CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
        {
        NSLog(@"Made it to location Manager");
        CLLocation *location = [locationManager location];
  
        CLLocationCoordinate2D coordinate = [location coordinate];
  
        NSLog(@"%f",coordinate.latitude);
        }
  </code></pre>
  
  <p>I added the NSLogs just as markers to determine from the console whether or not the functions were being called at all, however neither didFailWithError nor didUpdateToLocation  are called. </p>
  
  <p>Yes I know that didUpdateToLocation is deprecated/outdated, and I replaced it with didUpdateLocations and it still did not work so I changed it back.</p>
  
  <p>How can I get my my locationManager to start updating the current location and return coordinate values in the form of strings to be used later in my app? Thanks.</p>