Instance Method

cancelVideoZoomRamp

Smoothly ends a zoom transition in progress.

Declaration

- (void)cancelVideoZoomRamp;

Discussion

Calling this method is equivalent to calling rampToVideoZoomFactor:withRate: with a rate of zero. If a zoom transition is in progress, the transition slows to a stop (instead of stopping abruptly).

Before calling this method, you must call lockForConfiguration: to acquire exclusive access to the device’s configuration properties. If you do not, calling this method raises an exception. When you finish configuring the device, call unlockForConfiguration to release the lock and allow other devices to configure the settings.

See Also

Managing Zoom Settings

videoZoomFactor

A value that controls the cropping and enlargement of images captured by the device.

minAvailableVideoZoomFactor

The minimum zoom factor allowed in the current capture configuration.

maxAvailableVideoZoomFactor

The maximum zoom factor allowed in the current capture configuration.

- rampToVideoZoomFactor:withRate:

Begins a smooth transition from the current zoom factor to another.

rampingVideoZoom

A Boolean value that indicates whether a zoom transition is in progress.

virtualDeviceSwitchOverVideoZoomFactors

An array of video zoom factors at or above which a virtual device, such as the dual camera, may switch to its next constituent device.

Beta
dualCameraSwitchOverVideoZoomFactor

The video zoom factor at which a dual camera device can automatically switch between cameras.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software