Contents

capturePhoto()

Captures a high-resolution photo of the camera’s live video.

Declaration

@MainActor func capturePhoto() async throws -> UIImage

Return Value

An image of the live video.