Код: Выделить всё
let map = MKMapView(frame: .zero)
let annotation = MKPointAnnotation()
annotation.coordinate = donator.coordinates
annotation.title = donator.name
annotation.subtitle = donator.car
map.addAnnotation(annotation)
Подробнее здесь: https://stackoverflow.com/questions/649 ... -mkmapview
Мобильная версия