<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVCaptureDeviceDescriptor/uniqueID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeviceDescriptor(py)uniqueID"
  },
  "title" : "uniqueID"
}
-->

# uniqueID

An identifier that uniquely identifies the device’s camera.

```
var uniqueID: String { get }
```

## Discussion

This value matches the <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureDevice/uniqueID> of the camera it describes. Pass it to <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureDevice/init(uniqueID:)> on a background actor to get the camera itself.

---

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)