setCinematicVideoFixedFocus(at:focusMode:)
Fix focus at a distance.
Declaration
func setCinematicVideoFixedFocus(at point: CGPoint, focusMode: AVCaptureDevice.CinematicVideoFocusMode)Parameters
- point:
A normalized point of interest (i.e., [0,1]) in the coordinate space of the device.
- focusMode:
Specify whether to focus strongly or weakly.
Discussion
The distance at which focus is set is determined internally using signals such as depth data.