---
title: uniqueID
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureresolvedphotosettings/uniqueid
---

# uniqueID

The unique identifier for the photo capture this settings object corresponds to.

## Declaration

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

## Mentioned in

Tracking photo capture progress

## Discussion

Discussion The value of this property matches the matches the uniqueID value of the AVCapturePhotoSettings object you passed when initiating a photo capture with the capturePhoto(with:delegate:) method. Use this value to determine which delegate method calls correspond to which capture requests.

## See Also

### Resolving photo capture requests

- [expectedPhotoCount](avfoundation/avcaptureresolvedphotosettings/expectedphotocount.md)
