Iam使用PSTCollection视图进行网格布局,因此它将支持iOS 5.0以上,但是当我点击一个单元格时它的工作正常。我试图在所选单元格上实现选择效果,如发光边框,这样可以增加用户体验。任何一个人知道如何在PSTCollectionview中做到这一点?
答案 0 :(得分:1)
- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
CustomCell *customCell = (CustomCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"CustomCell" forIndexPath:indexPath];
//TODO: Customize your cell here
}