简体   繁体   English

iOS mapview:自定义标注视图位置调整

[英]iOS mapview : Custom callout view position adjustment

I am working on a mapview where on click of any annotation pin, I am showing custom callout view. 我正在使用mapview,在该视图上单击任何注释图钉,都会显示自定义标注视图。 But the problem is, part of this view is going out of screen. 但是问题是,这种视图的一部分不在屏幕上。 Is there any way by which I can adjust mapview to show full callout view just like default callout view? 有什么方法可以调整mapview以显示完整的标注视图,就像默认标注视图一样?

Here is simple demo project on custom callout view of mapkit. 这是有关mapkit的自定义标注视图的简单演示项目。 This might help you. 这可能对您有帮助。

https://github.com/NabinRai4017/CallOutExample https://github.com/NabinRai4017/CallOutExample

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM