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

# expectedPhotoCount

The number of photo capture results in the capture request.

```
var expectedPhotoCount: Int { get }
```

## Discussion

When you request a photo capture, the photo output calls your delegate’s [`photoOutput(_:didFinishProcessingPhoto:error:)`](/documentation/AVFoundation/AVCapturePhotoCaptureDelegate/photoOutput(_:didFinishProcessingPhoto:error:)) method many times based on the settings you choose. For example, if you request a bracket of three exposures with image delivery in both JPEG and RAW formats, the expected photo count is `6`.

The [`photoCount`](/documentation/AVFoundation/AVCapturePhoto/photoCount) property of each [`AVCapturePhoto`](/documentation/AVFoundation/AVCapturePhoto) object delivered to your delegate indicates where that capture result relates to this sequence. When your delegate receives a photo whose [`photoCount`](/documentation/AVFoundation/AVCapturePhoto/photoCount) value matches the [`expectedPhotoCount`](/documentation/AVFoundation/AVCaptureResolvedPhotoSettings/expectedPhotoCount), you know you’ve received the last one for the given capture request.

---

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)