I have two questions. In my app, I am getting the GPS coordinates of friends. How can I determine if those friends are in the US/Canada?
The second question is to find out if the actual device is in the US/Canada?
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.
The term for this is Reverse Geocoding. You want to have a look at the MKReverseGeocoder class and its sample code, this is Apple’s solution for this. However, it requires you to display a map (which may or may not be what you want).
If you don’t want the map then things get a little bit more complicated. See Offline Reverse Geocoding at Country Level and Techniques for offline reverse geocoding on a mobile device?.