---
title: "scannerDevice(_:didCompleteScanWithError:)"
framework: imagecapturecore
role: symbol
role_heading: Instance Method
path: "imagecapturecore/icscannerdevicedelegate/scannerdevice(_:didcompletescanwitherror:)"
---

# scannerDevice(_:didCompleteScanWithError:)

Tells the client when the scanner completes a scan.

## Declaration

```swift
optional func scannerDevice(_ scanner: ICScannerDevice, didCompleteScanWithError error: (any Error)?)
```

## See Also

### Performing a Scan

- [scannerDevice(_:didCompleteOverviewScanWithError:)](imagecapturecore/icscannerdevicedelegate/scannerdevice(_:didcompleteoverviewscanwitherror:).md)
- [scannerDevice(_:didScanTo:)](imagecapturecore/icscannerdevicedelegate/scannerdevice(_:didscanto:)-6tht3.md)
- [scannerDevice(_:didScanTo:)](imagecapturecore/icscannerdevicedelegate/scannerdevice(_:didscanto:)-10whl.md)
