The abstract superclass for objects provided by a metadata capture output.
- iOS 6.0+
- macOS 10.10+
- Mac Catalyst 13.0+
AVMetadata class is an abstract class that defines the basic properties associated with a piece of metadata. These attributes reflect information either about the metadata itself or the media from which the metadata originated. Subclasses are responsible for providing appropriate values for each of the relevant properties.
You shouldn’t subclass
AVMetadata directly. Instead, you use one of the defined subclasses provided by the AVFoundation framework. Similarly, you don’t create instances of this class yourself but use an
AVCapture object to retrieve them from the captured data.