【发布时间】:2016-06-23 16:48:53
【问题描述】:
下面是一个 sn-p,显示向先前创建的 MSMessage 添加子标题。在模拟器中运行时,以 $ 为前缀的字符串不会按预期转换为联系人姓名。
我的代码有错误?
MSMessageTemplateLayout *templateLayout = [[MSMessageTemplateLayout alloc] init];
NSString *messageText = [NSString stringWithFormat:@"Challenged by $%@",
currentConversation.localParticipantIdentifier.UUIDString];
[templateLayout setSubcaption:messageText];
【问题讨论】:
标签: ios objective-c imessage