MapKit iOS 9 detailCalloutAccessoryView usage

后端 未结 4 1029
遥遥无期
遥遥无期 2020-12-05 05:39

After watching WWDC video 206 I assumed this would be a trivial task of adding the detail callout view to a mapView annotation view.

So, I assume Im doing something

4条回答
  •  一生所求
    2020-12-05 05:50

    Use UIImageView

    view.detailCalloutAccessoryView = UIImageView(image:UIImage(named:"YourImageName")) 
    

提交回复
热议问题