如何在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...