I am trying to use CLLocationManager for an iphone app. But I am always getting the "didFailWithError" event and "didUpdateToLocation" event does not fire. I have Location Services Enabled in my iphone General section.
I have added all the code necessary for getting a CLLocationManager to start work like
One of the reason may be that the CLLocationManager is not able to get the location in the area [I guess, I am from india]. Also the iphone currently do not have any SIM. Does SIM has anything to do with locationServices?
Whats going wrong here? Any idea??
Thanks
Arnieterm
I have added all the code necessary for getting a CLLocationManager to start work like
Code:
if(locationManager.locationServicesEnabled)
{
[locationManager startUpdatingLocation];
}
Whats going wrong here? Any idea??
Thanks
Arnieterm