0

enter image description hereHow 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

Mss iOS
  • 157
  • 9

0 Answers0