What may be the reason?

Discussion in 'iOS Programming' started by arnieterm, Feb 18, 2009.

  1. macrumors regular

    Aug 28, 2008
    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
    		[locationManager startUpdatingLocation];
    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??

Share This Page