I already use mapkit for development on iOS, but I would like to know if anyone knows how to add code to friends, show other people on the map.
PS. or even a sample code for this function, thank you.
I already use mapkit for development on iOS, but I would like to know if anyone knows how to add code to friends, show other people on the map.
PS. or even a sample code for this function, thank you.
There is no native resource of MapKit
that you can do this.
A good practice for this would be to set up a database that collects the location information of other users. From this base you make requests to obtain this information. For example, the application service collects the location and sends it to the server. Other users to get such information make the requisition.
A second option is still a kind of communication between the devices (which I'm not entirely sure is functional on that occasion), by exchanging information with locations, which in my opinion I believe to be totally unfeasible in this situation.
I hope I have helped.