title: Adding a subview to a UICollectionViewCell that takes up entire cell frame
body: <p>I am trying to simply add a UIView to a UICollectionViewCell that takes up the entire cell's frame. The code I have now only displays a single cell in the top left corner (I suspect each cell is getting layer out on top of each other). How exactly can I do this? </p>
  
  <p>I plan on subclassing UIView later so as to customize the view that I am adding to the cell. I don't want to subclass UICollectionViewCell however based on the way I will be using it.</p>
  
  <pre><code>#pragma mark - Collection view data source
  
  -(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
      return 1;
  }
  
  -(NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
      return 6;
  }
  
  - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
  {
      UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"Cell" forIndexPath:indexPath];
  
      UIView *menuItem = [[UIView alloc] init];
      menuItem.frame = cell.frame;
      menuItem.backgroundColor = [UIColor greenColor];
      [cell addSubview:menuItem];
  
      return cell;
  }
  
  - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath; {
      return CGSizeMake(60, 60);
  }
  </code></pre>