Menus for CollectionView Items

In my app, tapping on an item, copies data to the clipboard rather than showing a modal view. The menu allowed the app to give users a way to edit and delete items by long pressing.

In iOS 13 the following methods related to showing a menu when a user long presses an item in a collection view were depreciated:

collectionView(_:shouldShowMenuForItemAt:)
collectionView(_:canPerformAction:forItemAt:withSender:)
collectionView(_:performAction:forItemAt:withSender:)

I've looked through the WWDC19 sessions and I cannot find any addressing this - What should we be using instead?
Accepted Answer
If I had to guess, those menu APIs were deprecated in favour of the UIContextMenuInteraction APIs introduced in iOS 13. There are UICollectionView convenience APIs for them too, found here.

You can learn more about them in the WWDC2019 session Modernizing Your UI for iOS 13 at about the 38 minute mark; or the new APIs and enhancements for them in iOS 14 in the Build with iOS pickers, menus, and actions talk.
Thank you! Your post lead me to find the new delegate method

collectionView(_:contextMenuConfigurationForItemAt:point:)
Menus for CollectionView Items
 
 
Q