I’m developing an app were I would like to get device current latitude and longitude for IPhone. Is it possible to obtain this information without using GPS.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you can use
CoreLocation frameworkThe Core Location framework has one important class
CLLocationManager.The
CLLocationManagerclass handles sending out updates to a delegate anytime the location is changed. it uses the delegateCLLocationManagerDelegateprotocol.you can use it like
set up locationManager like this in viewDidLoad
implement the below delegate mehod for getting changed location