Instance Property
includeMachineGeneratedSubtitles
Starting with iOS 27.0, tvOS 27.0, and visionOS 27.0, the system can automatically generate subtitles during playback based on the audio track or other available subtitles.
- iOS 27.0+
- iPadOS 27.0+
- macCatalyst 27.0+
- tvOS 27.0+
- visionOS 27.0+
var includeMachineGeneratedSubtitles: Bool { get set }
Discussion
Enable this property to include machine-generated subtitles in the Player API.
When disabled, machine-generated subtitles are omitted from the Player API. If AVPlayer automatically selects one during initialization, the Player applies its normal initial subtitle selection rules, preferring a default or forced subtitle when available and otherwise selecting off.
Machine-generated subtitles remain available for manual selection through the System UI.
Default is false.