简体   繁体   English

如何在iPhone的地图注释标注上创建多个字幕

[英]How to create multiple subtitles on a map annotation callout on iPhone

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). 我找到了一些提供自定义标注的教程,但是,我更喜欢使用默认的标注视图,但要有多个字幕(例如2行字幕)。 Thanks in advance! 提前致谢!

http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/ http://blog.asolutions.com/2010/09/building-custom-map-annotation-callouts-part-1/

You can't do it with the default MKAnnotationView. 您无法使用默认的MKAnnotationView来执行此操作。 This blog provides a work-around... 该博客提供了一种变通方法...

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

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