Skip to content

Commit 04e7182

Browse files
committed
add a new faq
1 parent 346fbc3 commit 04e7182

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

faq/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ permalink: /faq/
361361
<li><a href="{{site.faq}}type-error-appendchild.html">Error Message - Uncaught TypeError: Cannot read properties of null (reading 'appendChild') or Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'</a></li>
362362

363363
<li><a href="{{site.faq}}error-message-user-cancelled-the-operation.html">Error Message - User cancelled the operation</a></li>
364+
365+
<li><a href="{{site.faq}}the-loading-bar-keeps-spinning-when-capture-the-image-with-iphone.html">The loading bar keeps spinning when capture the image with iPhone.</a></li>
364366
</ol>
365367

366368
## Licensing and Purchase
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
layout: default-layout
3+
noTitleIndex: true
4+
needAutoGenerateSidebar: true
5+
title: The loading bar keeps spinning when capture the image with iPhone.
6+
keywords: Dynamic Web TWAIN, Error Troubleshooting, wasm, iphone
7+
breadcrumbText: The loading bar keeps spinning when capture the image with iPhone.
8+
description: The loading bar keeps spinning when capture the image with iPhone.
9+
permalink: /faq/the-loading-bar-keeps-spinning-when-capture-the-image-with-iphone.html
10+
---
11+
12+
# Error Troubleshooting
13+
14+
## The loading bar keeps spinning when capture the image with iPhone.
15+
16+
### Symptom
17+
18+
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 the important feature "webgl context". Please see the MDN docs on [OffscreenCanvas](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) for more details.
19+
20+
### Cause
21+
22+
`OffscreenCanvas` is utilized in all versions of Dynamic Web TWAIN WASM Edition (You can ignore this issue if you are using Service Edition). After you upgrade your iOS to v16.4, the loading bar will keep spinning if you want to capture an image.
23+
24+
### Resolution
25+
26+
Add the following lines of code to disable the API.
27+
28+
```javascript
29+
if (Dynamsoft.navInfoSync.biPhone || Dynamsoft.navInfoSync.biPad) {
30+
window.OffscreenCanvas = null
31+
}
32+
```
33+
34+
> If the resolution doesn't work for you, please [contact us](https://www.dynamsoft.com/company/contact/).

0 commit comments

Comments
 (0)