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

# IKCameraDeviceViewDelegate

The `IKCameraDeviceViewDelegate` protocol is adopted by the delegate of the [`IKCameraDeviceView`](/documentation/Quartz/IKCameraDeviceView) class. It allows downloading of camera content, handling selection changes, and handling errors.

```
protocol IKCameraDeviceViewDelegate
```

## Topics

### Downloading Camera Content

[`-  cameraDeviceView:didDownloadFile:location:fileData:error:`](/documentation/Quartz/IKCameraDeviceViewDelegate/cameraDeviceView(_:didDownloadFile:location:fileData:error:))

Invoked for each file that is downloaded from the camera device.

### Detecting Selection Changes

[`-  cameraDeviceViewSelectionDidChange:`](/documentation/Quartz/IKCameraDeviceViewDelegate/cameraDeviceViewSelectionDidChange(_:))

Invoked when the selection changed.

### Managing Errors

[`-  cameraDeviceView:didEncounterError:`](/documentation/Quartz/IKCameraDeviceViewDelegate/cameraDeviceView(_:didEncounterError:))

Invoked when the camera 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)