<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/IKScannerDeviceViewDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(pl)IKScannerDeviceViewDelegate"
  },
  "title" : "IKScannerDeviceViewDelegate"
}
-->

# IKScannerDeviceViewDelegate

The `IKScannerDeviceViewDelegate` protocol defines the delegate protocol that the [`IKScannerDeviceView`](/documentation/Quartz/IKScannerDeviceView) delegate must conform to.

```
protocol IKScannerDeviceViewDelegate
```

## Topics

### Scan Completed

[`-  scannerDeviceView:didScanToURL:fileData:error:`](/documentation/Quartz/IKScannerDeviceViewDelegate/scannerDeviceView(_:didScanTo:fileData:error:))

Invoked when the scan has completed and the data is available.

### Scanner Encountered Error

[`-  scannerDeviceView:didEncounterError:`](/documentation/Quartz/IKScannerDeviceViewDelegate/scannerDeviceView(_:didEncounterError:))

Invoked whenever the scanner encounters an error.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)