I was wondering how to find users (who use the same app) through geolocation within a certain distance around you in iOS? If any has any tutorials/sample projects it would be really appreciated!
Asked
Active
Viewed 87 times
1
-
Unless there is some iOS specific API for this (which I doubt) it's likely that you would have to implement this yourself, through an on-line service that you run and that your users log in to. That's not trivial at all. – Pekka Feb 09 '14 at 02:00
-
@Pekka웃 there is an api for this now – James Black Feb 09 '14 at 15:49
2 Answers
2
I am wondering if you are looking for MultiPeerConnectivity
This is on ios 7 but it allows you to find nearby devices using the same application.

James Black
- 41,583
- 10
- 86
- 166
-
Interesting - here's an article about it. http://nshipster.com/multipeer-connectivity/ It seems, however, limited to devices on the same network or withing bluetooth range. It's not for *any* client within a certain distance. Either way, you could add it as an answer to the duplicate? – Pekka Feb 09 '14 at 15:52
1
You need a server to record all users' location, and when a user want to see users around, he make a request to the server, the server make some calculation to detect users within a certain distance, and return the result.

cloudycliff
- 299
- 1
- 8
-
Would there be any tutorials for this.. or any pointers at how to build such a system? – Top Feb 09 '14 at 16:24