0

Below is a snippet showing adding a subcaption to a previously created MSMessage. Upon running in the simulator, the string prefixed with $ does not translate to the contact name as expected.

Bug in my code?

MSMessageTemplateLayout *templateLayout = [[MSMessageTemplateLayout alloc] init];
NSString *messageText = [NSString stringWithFormat:@"Challenged by $%@", 
                                                     currentConversation.localParticipantIdentifier.UUIDString];  
[templateLayout setSubcaption:messageText];
MagicFlow
  • 477
  • 3
  • 17

1 Answers1

0

There is an open radar for it: https://openradar.appspot.com/26877873

Alex Suzuki
  • 1,083
  • 10
  • 18
  • Thanks.. so its a valid bug..? I've raised another ticket on programatically adding .apng if you stumble across that one too... http://stackoverflow.com/questions/37957174/imessage-apps-programatically-create-animated-sticker-from-apng – MagicFlow Jun 23 '16 at 17:23
  • Seems so. I have the same behavior here. – Alex Suzuki Jun 27 '16 at 07:30