iOS5 中 EKSource 的描述性名称
一段时间以来,我一直在尝试为 iOS5 上的 EKSource 获取描述性标题,但我一直遇到的问题是外部交换源的标题始终是“Exchange”,甚至尽管本机日历应用程序将源显示为“[电子邮件受保护]"
src
是 EKSource*
NSString *sourceTitle = [src title];
仅返回“Exchange”。
NSString *sourceTitle = [src description];
按预期返回调试打印信息。
但是,在本机日历应用程序(以及另一个第三方应用程序)中,相同的源显示为“[电子邮件受保护]”。如何从 src
中挖掘出该名称?
I've been trying to get a descriptive title for an EKSource
on iOS5 for a while now, but the problem I keep running into is that the title of an external exchange source is always "Exchange", even though the native calendar app presents the source as "[email protected]"
src
is an EKSource*
NSString *sourceTitle = [src title];
returns only "Exchange".
NSString *sourceTitle = [src description];
returns the debugging print info, as expected.
However, in the native calendar app (and in another 3rd party app) this same source is presented as "[email protected]". How do I dig that name out from src
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论