Using MKAnnotationView without MKMapView?

前端 未结 3 654
野趣味
野趣味 2020-12-16 06:41

I\'m wondering if it\'s possible to use the MKAnnotationView inside a UIView other than MKMapView? I\'m trying to find an alternative to using the undocumented UICalloutVie

相关标签:
3条回答
  • 2020-12-16 06:51

    This is a work-alike CalloutView implemented in MonoTouch, if someone creates an Obj-C version, let me know.

    http://github.com/edanuff/MonoTouchCalloutView

    0 讨论(0)
  • 2020-12-16 06:54

    To anyone interested:

    I ported the code of Ed Anuff to Objective C. The source is complete with an Example. You can download it here.

    Maybe Ed can check it (I hope I did not do too many mistakes) and add it to his git repository.

    0 讨论(0)
  • 2020-12-16 07:06

    Check out the open-source SMCalloutView, which is a near-exact replica of UICalloutView:

    https://github.com/nfarina/calloutview

    0 讨论(0)
提交回复
热议问题