Skip to main content

Storing scanned documents with the iOS Document Scanner SDK

The Scanbot SDK provides a scanned document container class for scanned and imported pages. It can be used to store and retrieve scanned pages to and from the device disk.

Example of storing and retrieving an SBSDKScannedDocument object and its pages

Storing and retrieving an SBSDKScannedDocument
loading...

Storing images

The document pages display the scanned images, and these images can be stored using indexed or keyed image storages.

  • Those storages are thread-safe and persistent storages for images.
  • They can be used to store and retrieve images in an array-fashioned style (indexed) or dictionary-fashioned style (keyed) to and from the device disk.
  • Both allow the usage of an encrypter which encrypts the data when writing it to the disk and decrypts the data when reading it from the disk.
  • Custom image storages can be implemented and used within Scanbot SDK by conforming to the storing protocol.

Example of storing images using SBSDKIndexedImageStorage

Storing images using SBSDKIndexedImageStorage
loading...

Migrating from legacy Page objects (RTU UI v1) to SBSDKScannedDocument (RTU UI v2)

If you're currently using RTU UI version 1.0 and would like to upgrade to version 2.0, please refer to our migration guide for the differences between Page and SBSDKScannedDocument.

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License