Instance Method

captureOutput:willCapturePhotoForResolvedSettings:

Notifies the delegate that photo capture is about to occur.

Declaration

- (void)captureOutput:(AVCapturePhotoOutput *)output willCapturePhotoForResolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings;

Parameters

captureOutput

The photo output performing the capture.

resolvedSettings

An object describing the settings used for this capture. Match this object’s uniqueID value to the uniqueID property of the photo settings object you initiated capture with to determine which capture request this delegate call corresponds to. You can also use this object to find out which values the photo output has chosen for automatic settings.

Discussion

The photo output calls this method as close as possible to the initial moment of capture. If the shutter sound is enabled, this call occurs immediately after the photo output begins playing the shutter sound.

See Also

Monitoring Capture Progress

- captureOutput:willBeginCaptureForResolvedSettings:

Notifies the delegate that the capture output has resolved settings and will soon begin its capture process.

- captureOutput:didCapturePhotoForResolvedSettings:

Notifies the delegate that the photo has been taken.

- captureOutput:didFinishCaptureForResolvedSettings:error:

Notifies the delegate that the capture process is complete.