---
title: secondaryItemIdentifiers
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicontextmenuconfiguration/secondaryitemidentifiers
---

# secondaryItemIdentifiers

A set of identifiers corresponding to each item other than the primary item in a multiple-item interaction.

## Declaration

```swift
var secondaryItemIdentifiers: Set<AnyHashable> { get set }
```

## Mentioned in

Building a desktop-class iPad app

## Discussion

Discussion When the context menu acts on multiple items, you can use this property to include the identifiers of the secondary items in the configuration. You don’t need to set this property when you create a configuration that originates from a multiple-item interaction in a collection view, such as in collectionView(_:contextMenuConfigurationForItemsAt:point:).

## See Also

### Handling multiple-item interactions

- [badgeCount](uikit/uicontextmenuconfiguration/badgecount.md)
