---
title: uniqueID
framework: AVKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.1+, iPadOS 27.1+]
path: avkit/avcapturedevicedescriptor/uniqueid
---

# uniqueID

An identifier that uniquely identifies the device’s camera.

## Declaration

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

## Discussion

Discussion This value matches the uniqueID of the camera it describes. Pass it to init(uniqueID:) on a background actor to get the camera itself.

## See Also

### Identifying the device

- [localizedName](avkit/avcapturedevicedescriptor/localizedname.md)
