Declaring iOS camera permissions
To ensure your app is ready to use the ScanbotSDK
, it's essential to request camera access by adding the NSCameraUsageDescription
key to your Info.plist
file.
This step is necessary for the SDK to function properly, as it requires access to the device's camera for scanning documents.
Follow these steps to add the camera usage description:
- Open your
Info.plist
file. - Click the + button and start typing
Privacy - Camera Usage Description
. - Provide a brief, user-friendly explanation of why your app needs camera access, such as:
Please allow camera usage to scan documents.
For more details on requesting authorization to capture and save media, refer to the Apple documentation.
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get free trial license