Error while trying to scan a document using a scanner device in macOS in the Swift/SwiftUI App

22 Views Asked by At

I was wondering if there are any guidelines or examples for scanning documents with a scanner using Swift in a SwiftUI app. Scanning failed with the following error message:

Scanner Device has not yet become ready

Any guidelines will be appreciated.

I was able to browse devices using both IKDeviceBrowser and ICDeviceBrowser. Opening the session was successful too. But whenever I called requestScan or requestOverviewScan, I received that message.

0

There are 0 best solutions below