I am currently doing this tutorial to get the GPS coordinates of my present location. I need to know what these values means?
The first 2 values are the geo-coordinates, and i don’t know what the other attributes are ?
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.
From Apple’s iOS Developer Library what you are seeing as a result of the
descriptionselector being sent to yourCLLocationobject (which represents your current location and other location-related info):What you probably want to do now is extract info from your
CLLocationobject by accessing its various properties (e.g.CLLocation.altitudewill return the altitude only). Generally, aside from debugging purposes to the console, you would not want to print or display to the user the result of[CLLocation description]which is what you have there!