How to load a string like below in UIWebview
\"\\n \\nEgestas rhoncus auctor ac. Risus parturient, mid ultrices nisi.\\U00a0 \\nAugue ac elementum duis aliquet d
In Swift 3
let webView = UIWebView() webView.loadHTMLString("htmlString", baseURL: nil)
But note, that you won't preserve line breaks. To preserve line breaks you'll need to replace \n with <\br> as done by @MANIAK_dobrii in above answer