0

Is it possible to define custom colours for the MKPinAnnotationView colour rather than the default red, green or purple? Docs say no...

Thanks

skaffman
  • 398,947
  • 96
  • 818
  • 769
joec
  • 3,533
  • 10
  • 60
  • 89

2 Answers2

0

    If you want to use annotation with color different from standard ones you should create your own image.
    If Apple's docs say no, you should trust them - even if there's undocumented (using private api) way to do something it will likely cause your app to be rejected from app store.

Vladimir
  • 170,431
  • 36
  • 387
  • 313
0

Yep. It is possible and doesn't involve any undocumented APIs:

MKPinAnnotationView: Are there more than three colors available?

Community
  • 1
  • 1
RedBlueThing
  • 42,006
  • 17
  • 96
  • 122