Re: WKWebView does not load images


 



On Oct 6, 2017, at 1:52 PM, Steve Christensen <punster@...> wrote:

Is /path/to/myImage.gif a full path or a partial path? I ask because you didn't specify a base URL.

Another thing that just occurred to me — since there is no base URL, there’s nothing to resolve the path relative to. (Yes it’s an absolute path, but that’s still a relative URL.) Try using “file:///path/to/my/image.gif”.

—Jens

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