secondaryItemIdentifiers
A set of identifiers corresponding to each item other than the primary item in a multiple-item interaction.
Declaration
var secondaryItemIdentifiers: Set<AnyHashable> { get set }Mentioned in
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:).