关于拉伸 MkAnnotationView 有什么提示吗?

发布于 2024-08-08 15:51:38 字数 76 浏览 4 评论 0原文

有没有办法拉伸显示注释细节的气泡? 我需要使用附件视图,从而修改气泡的大小。 显然它似乎是在下层绘制的,所有视图都在它上面绘制。 谢谢你!

is there a way to stretch the bubble tha shows the details of an Annotation?
I need to use an accessory view and thus modify the size of the bubble.
Apparently it seems to be drawn in the lower layer and all views are drawn over it.
Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

农村范ル 2024-08-15 15:51:38

嗯,你到底是什么意思,MKAnnonationView 会根据文本的大小以及设置辅助视图时自行调整,那么你为什么要自己拉伸它呢?
您想要设置一个大尺寸的 leftCalloutAccessoryView 并且您希望附件视图能够自行调整吗?你所描述的情况是这样吗?

Hum, what do you mean exactly, the MKAnnonationView adjusts itself to the size of the text and also when an accessory view is set, so why do you want to stretch it yourself ?
Do you want to set a leftCalloutAccessoryView with a large size and you would like the accessory view to adjust itself ? Is that the case you describe ?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文