photoCount
The 1-based index of this photo capture relative to other results from the same capture request.
Declaration
var photoCount: Int { get }Mentioned in
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.