---
title: commonKey
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmetadataitem/commonkey
---

# commonKey

The common key of the metadata item.

## Declaration

```swift
var commonKey: AVMetadataKey? { get }
```

## Discussion

Discussion This value contains the key that most closely corresponds to the key property, but that belongs to the common key space. You can use this key to locate metadata items irrespective of the underlying media format. If the value of the keySpace property is common, this property value contains the same key as the key property.

## See Also

### Accessing keys and key spaces

- [key](avfoundation/avmetadataitem/key.md)
- [keySpace](avfoundation/avmetadataitem/keyspace.md)
