An object that displays controls for picking playback routes.
SDKs
- iOS 11.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- AVKit
An object that displays controls for picking playback routes.
SDKs
Framework
var delegate: AVRoute Picker View Delegate?
The delegate object for the route picker.
protocol AVRoute Picker View Delegate
Methods you can implement to respond to route picker view presentation events.
var active Tint Color: UIColor!
The view's tint color when AirPlay is active.
var route Picker Button Style: AVRoute Picker View Button Style
The button style for the route picker.
enum AVRoute Picker View Button Style
The modes that determine the button style for a route picker view.
Add picture-in-picture controls to your player using a player view controller.
Add picture-in-picture controls to your custom player using a picture-in-picture controller.
Present additional content such as legal text, content warnings, or advertisements alongside your main media content.
This sample code project demonstrates techniques for tracking AVPlayerViewController presentation state across multiple application scenarios, including being displayed fullscreen, embedded inline, or as Picture in Picture.
This sample demonstrates support for custom interactive overlays, and parental controls, using AVPlayer
.
Add metadata information and navigation markers to the Info panel in Apple TV.
class AVPlayer View Controller
An object that displays the video content from a player object along with system-supplied playback controls.
class AVPlayer View
A macOS-only object that displays the video content from a player object along with system-supplied playback controls.
class AVPicture In Picture Controller
A controller that responds to user-initiated playback of video in a floating, resizable window on iPad.
class AVInterstitial Time Range
A time range in an audiovisual presentation as interstitial content, such as advertisements or legal notices.
class AVNavigation Markers Group
A set of markers for navigating playback of an audiovisual presentation.