I have built a simple custom pin annotation and everything was working great until yesterday when GetViewForAnnotation started passing in MKAnnotationWrapper's instead of an MKAnnotation that can be converted to my custom type. This behavior is described in the following bug as well as a workaround.
https://bugzilla.xamarin.com/show_bug.cgi?id=26416#c1
The workaround is to use the following line of code to lookup the object I need:
ACustomAnnotation customAnnotation = Runtime.GetNSObject (annotation.Handle) as ACustomAnnotation;
Unfortunately, annotation.Handle always comes back as an "unknown member". If I mouseover annotation during runtime I can see Handle defined under Base but I can't figure out why annotation.Handle doesn't work.
So any suggestions as to how to use my custom annotation, whether it be figuring out the Handle issue or taking another approach?
thanks!