Here is an example, take a look at this http://paulsolt.com/2012/11/uicollectionview-custom-actions-and-uimenucontroller/
UICollectionView UIMenuController get cell
-
29-03-2022 - |
Pregunta
I successfully added custom UIMenuItems to the context menu of a UICollectionViewCell.
When using the builtin actions (cut / copy / paste) the -collectionView:performAction:forItemAtIndexPath:withSender
delegate method gets called.
But it never gets called if invoking custom actions. Is there any easy possibility to get the corresponding UICollectionViewCell from the UIMenuItem?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow