The video composition settings to be applied during playback.
SDKs
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- AVFoundation
Declaration
@NSCopying var videoComposition: AVVideo Composition? { get set }
Discussion
A video composition can only be used with file-based media and is not supported for use with media served using HTTP Live Streaming.