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];
There is an open radar for it: https://openradar.appspot.com/26877873