Swift: MKAnnotation long title text
问题 I have long MKannotationView title text. Is there an easy way to give Text in title proper size? reuseId = "Pin" var pinView = mapView.dequeueReusableAnnotationViewWithIdentifier(reuseId) pinView = MKAnnotationView(annotation: annotation, reuseIdentifier: reuseId) pinView!.image = UIImage(named:"pin") pinView?.canShowCallout = true pinView?.annotation let button : UIButton = UIButton(type: UIButtonType.DetailDisclosure) button.setImage(UIImage(named: "pin_arrow")?.imageWithRenderingMode