如何在PST Collectionview中突出显示所选单元格?

时间:2013-07-03 05:51:52

标签: ios objective-c cell collectionview pstcollectionview

Iam使用PSTCollection视图进行网格布局,因此它将支持iOS 5.0以上,但是当我点击一个单元格时它的工作正常。我试图在所选单元格上实现选择效果,如发光边框,这样可以增加用户体验。任何一个人知道如何在PSTCollectionview中做到这一点?

1 个答案:

答案 0 :(得分:1)

- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
{
    CustomCell *customCell = (CustomCell *)[collectionView dequeueReusableCellWithReuseIdentifier:@"CustomCell" forIndexPath:indexPath];

    //TODO: Customize your cell here
}
相关问题