Instance Property

photoCount

The 1-based index of this photo capture relative to other results from the same capture request.

Declaration

var photoCount: Int { get }

Discussion

The expectedPhotoCount property of this capture result's resolvedSettings object indicates the total number of images that will be returned for a given capture request. When your delegate's photoOutput(_:didFinishProcessingPhoto:error:) method receives a photo whose photoCount value matches the expectedPhotoCount value, you know you've received the last one for the given capture request.

See Also

Resolving Photo Capture Requests

var resolvedSettings: AVCaptureResolvedPhotoSettings

The settings object that was used to request this photo capture.

var timestamp: CMTime

The time at which the image was captured.