IOS10 WkWebView URL Decoding Error

Anyone having trouble iOS10displaying PNG as a data url?

This code works flawlessly in WkWebView iOS9, but it fails with 'Resource failed to load: Error decoding data URLs in WkWebView iOS10:

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

JPEG mapping works great both in iOS9and iOS10.

+4
source share
2 answers

For those experiencing this problem, it disappeared after upgrading to Cordoba iOS 4.3.0.

-1
source

, iOS10 Apple, . , PNG URL- PDF. javascript- pdfmake (pdfmake.org) PDF, PNG-, . JPG .

, , JPG- PNG.

-1

Source: https://habr.com/ru/post/1655078/


All Articles