开发者

Add MKAnnotation in UIView, not in MKMapView

开发者 https://www.devze.com 2023-01-24 23:03 出处:网络
It\'s possibile to add an mkannotation in a uiview. I don\'t have (and I don\'t want) a mkmapview, but I want the annotation with the callout in a uiview.

It's possibile to add an mkannotation in a uiview.

I don't have (and I don't want) a mkmapview, but I want the annotation with the callout in a uiview.

How can I add this point (with callout) on screen?

Something like:

MKAnnotationPosition newPos;
newPos.center.x = 200;
newPos.center开发者_如何学Python.y = 250;

to positioning the annotation in uiview.

thanks, alberto.


Used: http://github.com/edanuff/MonoTouchCalloutView

0

精彩评论

暂无评论...
验证码 换一张
取 消