WKWebView just shows a rectangle containing: “alternate”.
WKWebView has more security, so it probably disallows filesystem access. Or at least you may need to configure something about the “origin” or “security domain” to enable it. Or setting the baseURL to a “file:” URL might help.
The only way I can make WKWebView work properly is:
htmlString = … write htmlString to tempUrl [ wkWebView loadFileURL: tempUrl allowingReadAccessToURL: common root of tempUrl and imagesUrl ]
I do not like this at all. So I’ll better stick with WebView until WKWebView gets smarter.