2013-07-03 2 views

답변

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

    //TODO: Customize your cell here 
} 
+0

나는 이해하지 못했습니까? – Navi

+0

사용자가 셀을 선택할 때. 위의 메서드가 호출됩니다. 클릭 한 셀에 액세스하여 셀에 효과가있는 효과를 추가해야합니다. 희망이있어. – iCoder

+0

u는 customCell.background-color와 같은 것을 의미합니까? – Navi

관련 문제