collectionView的didSelectItemAtIndexPath方法失效的问题 不减狂骄 2019-11-26 1,067 阅读1分钟 解决方法: 讲如下代理方法return YES或删除 (BOOL)collectionView:(UICollectionView *)collectionView shouldHighlightItemAtIndexPath:(NSIndexPath *)indexPath { return NO; }