Contents

CGImageMetadataTagCopyQualifiers(_:)

Returns a shallow copy of the metadata tags that act as qualifiers for the current tag.

Declaration

func CGImageMetadataTagCopyQualifiers(_ tag: CGImageMetadataTag) -> CFArray?

Parameters

  • tag:

    The metadata tag from which to fetch the namespace information.

Return Value

An array of CGImageMetadataTag types that represent the current tag’s qualifiers, or NULL if the tag has no qualifiers.

Discussion

XMP allows a metadata tag to contain supplemental tags that act as qualifiers on the content. For example, the xml:lang qualifier provides alternate text entries for the current tag. Each qualifier is a CGImageMetadataTag with its own namespace, prefix, name, and value.

See Also

Getting the Attributes of the Tag