setCinematicVideoTrackingFocus(at:focusMode:)
Focus on and start tracking an object if it can be detected at the region specified by the point.
Declaration
func setCinematicVideoTrackingFocus(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.