Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using MKAnnotationView without MKMapView?

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 UICalloutView class. I can create the MKAnnotationView and add it to my view, but I can't get it to show.

like image 233
Ed Anuff Avatar asked Oct 24 '09 21:10

Ed Anuff


2 Answers

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.

like image 81
holtmann Avatar answered Sep 23 '22 08:09

holtmann


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

http://github.com/edanuff/MonoTouchCalloutView

like image 29
Ed Anuff Avatar answered Sep 23 '22 08:09

Ed Anuff