title: can't find location via Corelocation
body: <p>I use corelocation to detect Latitude and longitude to use in URL but log has print in 0.00000 in both </p>
  
  <p>this  is my code</p>
  
  <p>mapViewcontroller.m</p>
  
  <pre><code>#import &lt;CoreLocation/CoreLocation.h&gt;
  
  @interface mapsViewController () &lt;CLLocationManagerDelegate&gt;
  
  @property (weak, nonatomic) IBOutlet UIWebView *mapsweb;
  @property(weak,nonatomic) CLLocationManager *locationmanager;
  @end
  
  @implementation mapsViewController
  
  -(NSString *)getlat{
      return [NSString stringWithFormat:@"%f",_locationmanager.location.coordinate.latitude];
  }
  -(NSString *)getlon{
      return [NSString stringWithFormat:@"%f",_locationmanager.location.coordinate.longitude];
  }
  
  - (void)viewDidLoad {
      [super viewDidLoad];
      // Do any additional setup after loading the view.
      _locationmanager = [[CLLocationManager alloc]init];
      _locationmanager.distanceFilter = kCLDistanceFilterNone;
      _locationmanager.desiredAccuracy = kCLLocationAccuracyHundredMeters;
      [_locationmanager startUpdatingLocation];
  
      NSString *t1 = @"http://mymaps.com/clat/";
      NSString *la = [self getlat];
      NSString *t2 = @"/clng/";
      NSString *lo = [self getlon];
  
      NSLog(@"latitude is %@",[self getlat]);
      NSLog(@"Longitude is %@",[self getlon]);
  </code></pre>