Type Property

photo

Specifies capture settings suitable for high-resolution photo quality output.

Declaration

static let photo: AVCaptureSession.Preset

See Also

Presets

static let low: AVCaptureSession.Preset

Specifies capture settings suitable for output video and audio bit rates suitable for sharing over 3G.

static let medium: AVCaptureSession.Preset

Specifies capture settings suitable for output video and audio bit rates suitable for sharing over WiFi.

static let high: AVCaptureSession.Preset

Specifies capture settings suitable for high-quality video and audio output.

static let inputPriority: AVCaptureSession.Preset

Specifies that the capture session does not control audio and video output settings.

static let qHD960x540: AVCaptureSession.Preset

Specifies capture settings suitable for quarter HD quality (960 x 540 pixel) video output.

static let hd1280x720: AVCaptureSession.Preset

Specifies capture settings suitable for 720p quality (1280 x 720 pixel) video output.

static let hd1920x1080: AVCaptureSession.Preset

Capture settings suitable for 1080p-quality (1920 x 1080 pixels) video output.

static let hd4K3840x2160: AVCaptureSession.Preset

Capture settings suitable for 2160p-quality (3840 x 2160 pixels) video output.

static let iFrame960x540: AVCaptureSession.Preset

Specifies capture settings to achieve 960 x 540 quality iFrame H.264 video at about 30 Mbits/sec with AAC audio.

static let iFrame1280x720: AVCaptureSession.Preset

Specifies capture settings to achieve 1280 x 720 quality iFrame H.264 video at about 40 Mbits/sec with AAC audio.

static let qvga320x240: AVCaptureSession.Preset

Specifies capture settings suitable for 320 x 240 pixel video output.

static let vga640x480: AVCaptureSession.Preset

Specifies capture settings suitable for VGA quality (640 x 480 pixel) video output.

static let cif352x288: AVCaptureSession.Preset

Specifies capture settings suitable for CIF quality (352 x 288 pixel) video output.

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