Re: WKWebView does not load images


Gerriet M. Denkmann
 

I change an iOS app from UIWebView to WKWebView.

1. The Simulator (iPhone SE) complains:
could not create directory “/Volumes/เม่น/Users/gerriet/Library/Developer/CoreSimulator/Devices/77[…]CC/data/Containers/Data/Application/8A2[…]5E/Library/Caches/de.mdenkmann.gThai/WebKit/OfflineWebApplicationCache” for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “OfflineWebApplicationCache” in the folder “WebKit”."

There certainly is no such thing as: “/Volumes/เม่น/“, but it seems to be working nevertheless.

Both in Simulator and device (iPhone SE) :

2. everything is extremely small: 18 pt. text looks like 6 pt. Probably could be fixed by modifying the css-stuff, multiplying everything by 3.

3. but, same as in macOS, there are no images - just a box with the alt-text.

Gerriet.

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