obtaining current location in GPS?
<p>Below is my code but its not working. Can anyone help me???</p>

<pre><code>- (void)viewDidLoad {
    [super viewDidLoad];

   CLController = [[CoreLocationController alloc] init];
   CLController.delegate = self;
   //[CLController setDesiredAccuracy:kCLLocationAccuracyBest]; 
   [CLController.locMgr startUpdatingLocation];
}

- (void)locationUpdate:(CLLocation *)location {
   locLabel.text = [location description];
}

- (void)locationError:(NSError *)error {
   locLabel.text = [error description];
}
</code></pre>
