【问题标题】:iMessage App - iOS 10 localParticipantIdentifier.UUIDString does not translate in simulatoriMessage App - iOS 10 localParticipantIdentifier.UUIDString 不在模拟器中翻译
【发布时间】: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


    【解决方案1】:

    有一个开放的雷达:https://openradar.appspot.com/26877873

    【讨论】:

    • 谢谢..所以它是一个有效的错误..?我已经提出了另一张关于以编程方式添加 .apng 的票,如果你也偶然发现了那张票……stackoverflow.com/questions/37957174/…
    • 似乎如此。我在这里有同样的行为。
    猜你喜欢
    • 1970-01-01
    • 2017-09-25
    • 2017-05-21
    • 1970-01-01
    • 2016-11-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-27
    相关资源
    最近更新 更多