<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureResolvedPhotoSettings/uniqueID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureResolvedPhotoSettings(py)uniqueID"
  },
  "title" : "uniqueID"
}
-->

# uniqueID

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

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

## Discussion

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

---

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)