I found that I needed to have the following in my CollectionViewCell class. This was not required in ios6 however. Hope this saves someone a few hrs.
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
{
// The selector/s should match your UIMenuItem selector
if (action == @selector(customAction:)) {
return YES;
}
return NO;
}
- (void) customAction:(id)sender
{
// do stuff
}