显示PIN信息时如何设置两个班轮文字 [英] How to set two liner text when display the PIN info

查看:112
本文介绍了显示PIN信息时如何设置两个班轮文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建iPhone应用程序,我正在显示我的办公室位置,并且它的工作完美。

I am creating iPhone application where I am showing my office location and its working perfectly.

对于地图我遵循这个

在链接上,我有如下代码。

On link, I have code as below.

DisplayMap *ann = [[DisplayMap alloc] init]; 
ann.title = @" Kolkata";
ann.subtitle = @"Mahatma Gandhi Road";

我想要的是字幕如下。

Line 1
Line 2
Line 3

我该怎么做?

任何想法或建议请。

推荐答案

地图的默认样式仅支持标题和字幕。

The default style of map only supports the title and subtitle.

您不能使用多个字幕作为引脚注释。

You cannot use multiple subtitles for a pin annotation.

请查看示例代码由Apple提供。

Please review the sample code provided by Apple.

这篇关于显示PIN信息时如何设置两个班轮文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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