Dev Center
Table of contents

Thanks for Downloading Dynamic Web TWAIN 30-Day Trial!

Your download will start shortly. If your download does not begin, click here to retry.

Error Troubleshooting

The loading bar keeps spinning when capturing images with iPhone.

Symptom

iOS 16.4 was released on March 27th, 2023. In this version, all browsers on iOS have begun to support OffscreenCanvas. Unfortunately, Apple’s implementation of the API is still incomplete and is missing an important feature: “webgl context”. Please see the MDN docs on OffscreenCanvas for more details.

Cause

OffscreenCanvas is utilized in all versions of the Dynamic Web TWAIN Mobile Web Capture Edition. After you upgrade your iOS to v16.4, the loading bar will keep spinning when you try to capture an image. Note that the Service Edition is not affected by this issue.

Resolution

Add the following lines of code to disable the API.

if (Dynamsoft.navInfoSync.biPhone || Dynamsoft.navInfoSync.biPad) {
    window.OffscreenCanvas = null
}

Or download the patch version:

  • For NPM project, please upgrade your dwt package to v17.3.4 or v18.0.2.

  • For Non-NPM application, please download the new camera.js file below and replace the old file with new one under Resource/addon directory.

If the resolution doesn’t work for you, please contact us.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version (18.4)
    • Version 18.3
    • Version 18.1
    • Version 18.0
    • Version 17.3
    • Version 17.2.1
    • Version 17.1.1
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +