Learn Courses My Dashboard

Scanning and Saving documents

Hello.
I have 2 questions about some document type and how to work with it.
How to allow to an app to scan and save a documents via swift?
Also what is the type of the scanned document in swift(for example, the type of the image document is UIImage)?

hmm usually you just use the camera to take a picture (“scan”) then use that image (which can be opened using UIImage but from a file path), from there you can probably use that image to show in your app or do whatever you want with it

you might need permissions to access documents, camera, and gallery though