Capture interfaces
Capture from hardware buttons and AirPods, present an audio input picker, and connect a nearby iPhone as a camera.
Overview
AVKit connects your capture app to the system features that surround capture. For example, people expect a camera app to work with the device the way the Camera app does. The volume button takes the photo, a click on AirPods starts a recording, and the microphone someone chose is the one that records audio.
These capture features are more integration than user interface. Your app keeps its own camera design and adds system behavior around it. Events arrive when someone presses a button, the system’s own picker appears when they choose an input, and a nearby iPhone becomes the camera when someone pairs it on Apple TV.
For information about building a camera app, see Capture setup.
Topics
Capture events
Camera facing direction
Choosing a camera by the direction it facesAVCaptureDeviceDirectionCoordinatorAVCaptureDeviceDirectionMapAVCaptureDeviceDescriptor
Audio input selection
Camera access while multitasking
Continuity Camera
Supporting Continuity Camera in your tvOS appAVContinuityDevicePickerViewControllerAVContinuityDevicePickerViewControllerDelegate