问题
How to show Emojis url link in label. Emojis Unicode format is showing properly but when we show emojis url link its not showing its show same URL link.
I am using this code for showing Emojis:- NSString *html = msCommentObj.mCommentText;
NSAttributedString *attr = [[NSAttributedString alloc] initWithData:[html dataUsingEncoding:NSUTF8StringEncoding]
options:@{NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType,
NSCharacterEncodingDocumentAttribute:@(NSUTF8StringEncoding)}
documentAttributes:nil
error:nil];
NSString *finalString = [attr string];
descriptionCommentsLbl.text = finalString;*
Here is the Emojis Response :- True.
https://mysponsers.com//img/emoticons/47.png https://mysponsers.com//img/emoticons/41.png
来源:https://stackoverflow.com/questions/44364002/how-to-show-custom-emojis-url-link-in-labels-ios