我有这个代码将文本替换为图标。
self.message = [self.message stringByReplacingOccurrencesOfString:@"(Y)" withString:@"\uE00E"];
self.message = [self.message stringByReplacingOccurrencesOfString:@"<3" withString:@"\uE022"];
self.message = [self.message stringByReplacingOccurrencesOfString:@"3>" withString:@"\uE022"];
提前致谢