1
好像它會是什麼做用這種方法,雖然我很爲難如何區分選擇被稱爲什麼:UICollectionView - UICollectionViewDelegate - 如何實現canEditRowAtIndexPath的等效項?
-(BOOL)collectionView:(UICollectionView *)collectionView canPerformAction:(SEL)action forItemAtIndexPath:(NSIndexPath *)indexPath withSender:(id)sender
{
if (action.type? name? == "willMoveToIndexPath" && sender == cellToNotMove??) return NO;
return YES;
}
似乎這樣的事情可能會奏效,有什麼建議一個乾淨的實施?
感謝