AVKit plays and presents audiovisual media with the system's standard playback interface, so you display video without building transport controls yourself. Use AVPlayerViewController to present a player with the full playback UI, adopt AVPictureInPictureController to continue playback in a floating window, and configure playback rates through AVPlaybackSpeed. The framework also surfaces presentation and analysis affordances such as AVPictureInPictureVideoCallViewController, AVLegibleMediaOptionsMenuController, AVDisplayManager, and AVViewport, and reports failures with AVKitError across iOS, macOS, tvOS, watchOS, and visionOS.
Player Presentation 3
View controllers that present audiovisual media with the system's standard playback interface.
- ClAVPlayerViewControlleriOS 8.0+@class AVPlayerViewController
- PrAVPlayerViewControllerDelegateiOS 9.0+@protocol AVPlayerViewControllerDelegate
- ClAVPlaybackSpeediOS 16.0+@class AVPlaybackSpeed
Picture in Picture 4
Controllers and delegates for continuing video playback in a floating window.
- ClAVPictureInPictureControlleriOS 9.0+@class AVPictureInPictureController
- PrAVPictureInPictureControllerDelegateiOS 9.0+@protocol AVPictureInPictureControllerDelegate
- PrAVPictureInPictureSampleBufferPlaybackDelegateiOS 15.0+@protocol AVPictureInPictureSampleBufferPlaybackDelegate
- ClAVPictureInPictureVideoCallViewControlleriOS 15.0+@class AVPictureInPictureVideoCallViewController
Display and Viewport Management 3
Types that manage display modes and the on-screen presentation region for played media.
- ClAVDisplayManagervisionOS 1.0+An object that manages a display's mode for optimal playback of audiovisual content.
- ClAVViewport@class AVViewport
- ClAVPortalViewport@class AVPortalViewport
Media Options and Analysis 5
Controllers and types for presenting legible media menus and analyzing video frames.
- ClAVLegibleMediaOptionsMenuControlleriOS 26.4+@class AVLegibleMediaOptionsMenuController
- StAVLegibleMediaOptionsMenuStateiOS 26.4+@struct AVLegibleMediaOptionsMenuState
- EnAVLegibleMediaOptionsMenuTypeiOS 26.4+@enum AVLegibleMediaOptionsMenuType
- StAVVideoFrameAnalysisTypeiOS 17.0+@enum AVVideoFrameAnalysisType
- ClAVInterstitialTimeRangeiOS 16.0+@class AVInterstitialTimeRange
Errors 1
The error type that AVKit reports when playback or presentation fails.
- StAVKitErroriOS 9.0+A structure that describes errors AVKit reports during playback or presentation.
Classes 4
- ClAVContentSelectionViewControllerA view controller for providing additional UI to the multiview experience.
- ClAVExperienceControllerAn object for controlling video experiences.
- ClAVGroupExperienceCoordinator
- ClAVMultiviewManagerAn object to manage viewing multiple videos at once.
Structures 1
- StVideoPlayeriOS 14.0+A view for showing the audiovisual contents of an `AVPlayer`