MKPinAnnotationView: Are there more than three colors available?

前端 未结 9 1411

According to the Apple docs, MKPinAnnotationView\'s pin color is available in red, green and purple. Is there any way to get other colors also? I\'ve found nothing in the do

9条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 10:18

    With iOS 9, pinTintColor has been added to MKPinAnnotationView, allowing you to supply a UIColor for the pin color.

提交回复
热议问题