<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageIO",
  "identifier" : "/documentation/ImageIO/CGImageMetadataTagCopyQualifiers(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Image I/O"
    ],
    "preciseIdentifier" : "c:@F@CGImageMetadataTagCopyQualifiers"
  },
  "title" : "CGImageMetadataTagCopyQualifiers(_:)"
}
-->

# CGImageMetadataTagCopyQualifiers(_:)

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

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

## Parameters

`tag`

The metadata tag from which to fetch the namespace information.

## Return Value

An array of [`CGImageMetadataTag`](/documentation/ImageIO/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`](/documentation/ImageIO/CGImageMetadataTag) with its own namespace, prefix, name, and value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)