0

I am looking to add a UIImage to a MKPointAnnottion.

NOT TO BE SHOWN IN THE CALLOUT, but to be shown on a separate page when the callout is clicked.

I think it would be something like a subclass but I am not to sure how to do that.

Any guidance/solution would be great

Thanks

Ben

Ben Gray
  • 150
  • 1
  • 2
  • 8
  • See http://stackoverflow.com/questions/25631410/swift-different-images-for-annotation for one approach. –  Oct 31 '14 at 17:38

1 Answers1

0

Yep, you want to subclass MKPointAnnotation to add a generic property. In your case, a UIImage.

incanus
  • 5,100
  • 1
  • 13
  • 20