Reputation: 33
I wanted to know, is it posisble to get location(latitude, longitude) by device ID on iPhone? for example, if i want to make an iPhone app that finds friends with in university campus, I have my friend's device IDs but not their location. Is it really possible? I am sorry for my ignorance but please guide me.
Thanks, Regards, Ainee
Upvotes: 0
Views: 483
Reputation: 10106
No, you can't obtain the location of your friends' iPhones with any standard iOS API. To do something like that, you should have a server component as well, and have you app report the location to it. Then you should be able to query the server about the location of any user that is running the app.
Upvotes: 2