Contents

metadata(forFormat:)

Returns an array of metadata items—one for each metadata item in the container of a given format.

Declaration

func metadata(forFormat format: String) -> [AVMetadataItem]

Parameters

  • format:

    The metadata format for which items are requested.

Return Value

An array of AVMetadataItem objects, one for each metadata item in the container of format, or nil if there is no metadata of the specified format.

See Also

Managing metadata