Instance Method

captureOutput:willBeginCaptureForResolvedSettings:

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

Declaration

- (void)captureOutput:(AVCapturePhotoOutput *)output willBeginCaptureForResolvedSettings:(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 when it has committed to a choice of settings and will soon begin the capture process. This call occurs as early as possible after your call to the capturePhotoWithSettings:delegate: method, letting you know what to expect for other delegate method calls related to the same capture.

Use this method and the AVCaptureResolvedPhotoSettings it provides to find out at the earliest possible opportunity which values the photo output has chosen for automatic settings, and what the output dimensions for captured images and movies will be. For example, if you requested capture with the flashMode property set to AVCaptureFlashModeAuto, the resolved photo settings’ flashEnabled property indicates whether the flash will fire during capture.

See Also

Monitoring Capture Progress

- captureOutput:willCapturePhotoForResolvedSettings:

Notifies the delegate that photo capture is about to occur.

- captureOutput:didCapturePhotoForResolvedSettings:

Notifies the delegate that the photo has been taken.

- captureOutput:didFinishCaptureForResolvedSettings:error:

Notifies the delegate that the capture process is complete.