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.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- how do you prevent page scroll in textarea on mobi
- Custom UITableview cell accessibility not working
相关文章
- Could I create “Call” button in HTML 5 IPhone appl
- Unable to process app at this time due to a genera
- How do you detect key up / key down events from a
- “Storyboard.storyboard” could not be opened
- Open iOS 11 Files app via URL Scheme or some other
- Can keyboard of type UIKeyboardTypeNamePhonePad be
- Strange error: Can't render polygon
- Can not export audiofiles via “open in:” from Voic
Check out the open-source
SMCalloutView
, which is a near-exact replica ofUICalloutView
:https://github.com/nfarina/calloutview
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.
This is a work-alike CalloutView implemented in MonoTouch, if someone creates an Obj-C version, let me know.
http://github.com/edanuff/MonoTouchCalloutView