如何在iPhone的地图注释标注上创建多个字幕 [英] How to create multiple subtitles on a map annotation callout on iPhone

查看:50
本文介绍了如何在iPhone的地图注释标注上创建多个字幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我陷入了在地图注释标注上显示多行字幕的问题.我找到了一些提供自定义标注的教程,但是,我更喜欢使用默认的标注视图,但要有多个字幕(例如2行字幕).预先感谢!

Currently I'm stuck on this problem of showing multiple lines of subtitles on a map annotation callout. I've found some tutorials that provides a custom callout, however, I'd prefer to use the default callout view, but with multiple subtitles (2 lines of subtitles, for example). Thanks in advance!

推荐答案

您不能使用默认的MKAnnotationView来做到这一点.该博客提供了一种解决方法...

You can't do it with the default MKAnnotationView. This blog provides a work-around...

这篇关于如何在iPhone的地图注释标注上创建多个字幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆