CLLocationManager doesn't detect latitude and longitude
Hi ,
i am facing one problem while using CLLocationManager class to get latitude and longitude. It works fine when device has network(wifi or cellular network). But in some devices when there is no network it fails and "didFailWithError" delegate gets called. Here is the observation :
iPhone 4 : Works fine with or without network(wifi or cellular network)
iPhone 3gs : Works only when there is network(wifi or cellular network)
I came to know that iPhone uses AGPS, does it mean that it always require network . If so how it worked in iPhone 4. Please suggest me what is going wrong here ?
CLLocationManager,AGPS, GPS