Edwin Lijnzaad Edwin Lijnzaad - 1 month ago 16
iOS Question

iOS10 WkWebView Data URL decoding failed

Did anyone experience problems in

iOS10
displaying PNG's as data-url?

This code works flawless in
WkWebView
iOS9
, but it fails with 'Failed to load resource: Data URL decoding failed' in WkWebView iOS10:

<img src="data:image/png;base64,iVBORw0KGgoAA ...[skipped]... ">


Displaying JPEG's works fine in both
iOS9
and
iOS10
.

Answer

For anyone experiencing this problem, it disappeared after upgrading to Cordova iOS 4.3.0.

Comments