The abstract superclass for objects provided by a metadata capture output.
- iOS 6.0+
- macOS 10.10+
- UIKit for Mac 13.0+Beta
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 should not subclass
AVMetadata directly. Instead, you use one of the defined subclasses provided by the AVFoundation framework. Similarly, you do not create instances of this class yourself but use an
AVCapture object to retrieve them from the captured data.