The corresponding value is an NSString
object that specifies a media type such as video, audio, or metadata. For a list of possible values, see AVFoundation Constants.
SDKs
- iOS 4.3+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- AVFoundation
Declaration
NSString *const AVErrorMediaTypeKey;