Возможно ли сделать у annotation.titile авторазмер? Например использовать .ByWordWrapping как у UILabel?
Авторазмер у annotation.titile
Dimas
#4
Решил проблемку
добавил в метод
func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView?
let subtitleView = UILabel()
subtitleView.font = subtitleView.font.withSize(15.0)
subtitleView.numberOfLines = 0
subtitleView.text = annotation.title!
annotationView?.detailCalloutAccessoryView = subtitleView