title: UICollectionView Cell with Image, change Background with click
body: <p>I have a <code>UICollectionView</code> with <code>Custom CollectionView Cells</code>. On each Cell there is a Image on it, which is as big as the whole Cell. Now i want to highlight the Cell when the User touches the Cell. First i tried it with the following <code>delegate Methods</code>:</p>
  
  <pre><code>- (void)collectionView:(UICollectionView *)collectionView didHighlightItemAtIndexPath:(NSIndexPath *)indexPath
  {
  UICollectionViewCell* cell = [self.collectionView cellForItemAtIndexPath:indexPath];
  cell.contentView.backgroundColor = [UIColor redColor];
  
  }
  
  - (void)collectionView:(UICollectionView *)collectionView didUnhighlightItemAtIndexPath:(NSIndexPath *)indexPath
  {
  UICollectionViewCell *cell = [self.collectionView cellForItemAtIndexPath:indexPath];
  cell.contentView.backgroundColor = [UIColor clearColor];
  }
  </code></pre>
  
  <p>But nothing happend.After i deleted the Images from the Cells it worked perfectly. But with the Images nothing happens! What else can I do?</p>