Nick McConnell
Nick McConnell

Reputation: 861

UIWebView vs. WebKit for simple HTML

For simple things like terms and conditions and "about" text that is simple-formatted HTML, should I use UIWebView or WKWebView? Not sure I fully understand when to use what. Im targeting iOS8+.

Upvotes: 0

Views: 1910

Answers (1)

krisrak
krisrak

Reputation: 12952

WKWebView rendering performance is noticeable in WebGL games and something that runs complex JavaScript algorithms, if you are using webview to load a simple html or website, you can just use UIWebView.

Here is a test iOS app that can be used to open any website using either UIWebView or WKWebView and you can compare performance, and then decide on whether to use WKWebView or UIWebView:

https://itunes.apple.com/app/id928647773?mt=8&at=10ltWQ

Upvotes: 1

Related Questions