Answer the question
In order to leave comments, you need to log in
How to put different pins on MapView?
I have a screen. You need to make a different pin for each face. Well, or something else.
Here is a picture, you need to do the same:
s13.postimg.org/gnauwjxt3/image.jpg
Answer the question
In order to leave comments, you need to log in
You can provide a reference in your subclass MKAnnotation
for an entity representing the user whose photo will be displayed, and in
optional func mapView(_ mapView: MKMapView,
viewForAnnotation annotation: MKAnnotation) -> MKAnnotationView?
set the view as a picture of the user's avatar, taken from annotation
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question