关于拉伸 MkAnnotationView 有什么提示吗?
有没有办法拉伸显示注释细节的气泡? 我需要使用附件视图,从而修改气泡的大小。 显然它似乎是在下层绘制的,所有视图都在它上面绘制。 谢谢你!
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,你到底是什么意思,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 ?