WKWebView does not load images


Gerriet M. Denkmann
 

[ wkWebView loadHTMLString: htmlString baseURL: nil ];

htmlString contains: …<img alt=“alternate” src=“/path/to/myImage.gif” /> ….

WKWebView just shows a rectangle containing: “alternate”.

WebView shows the picture.

Are there any special steps needed to make WKWebView show images?

Gerriet.

Join cocoa@apple-dev.groups.io to automatically receive all group messages.