NSString *htmlString = @"<p>\U6211\U4eec\U8981\U8ba4\U771f\U770b\U770b<p>"
NSAttributedString *attributedString = [[NSAttributedString alloc] initWithData:[htmlString dataUsingEncoding:NSUnicodeStringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType } documentAttributes:nil error:nil];
网友评论