The web view approach has quite an overhead and likely a delay to display the rendered text. I would recommend using DTCoreText.
Display Rich Text Content as UIWebView or UILabel+CoreText
-
29-05-2022 - |
Question
I'd like to display rich text content in my app. I want user to create simple WYSIWYG input with support of bold, italics, shadow, outline, image HTML-like tags. I am puzzled if I should go with UIWebView or custom written UILabel/UIView which can have CoreText framework added to support all those above stated properties. I see there are libraries which are using both approaches.
Does anyone have an experience dealing with these approaches who can suggest cons and pros? Thanks
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow