The Apple documentation about doing CollectionViews says that the default behavior is for a long press to bring up the Edit Menu. It goes on to say that you must implement 3 delegate methods, and that’s it.
I have a CollectionView that extends UICollectionViewController (and thus implements the data source delegate), and I implemented the delegates, but they are never being called. This CollectionView is setup in Interface Builder.
I dragged out a Long Tap Gesture Recognizer and made a method, and yes, it detects it, but that does me no good. According to the docs, the cell should detect the long tap and invoke the delegate.
The docs are really lame on this, which is too bad. CollectionViews are great, but seriously, this just does not work as advertised.
Implement all, please check UICollectionView.h in UIKit.framework
// These methods provide support for copy/paste actions on cells.
// All three should be implemented if any are.