Load Html In Swift

[Solved] Load Html In Swift | Swift - Code Explorer | yomemimo.com
Question : swift webview load html

Answered by : aris-g

let webView1 = UIWebView()
webView1.loadHTMLString("<html><body><p>Hello!</p></body></html>", baseURL: nil)

Source : https://www.hackingwithswift.com/example-code/uikit/how-to-load-a-html-string-into-a-wkwebview-or-uiwebview-loadhtmlstring | Last Update : Thu, 11 Jun 20

Answers related to load html in swift

Code Explorer Popular Question For Swift