I’m getting a headache by searching how to resize a cell (width and height) in an UICollectionViewController. With an UITableViewController there is the method :
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
But with UICollectionViewController I cannot find the method to do it programmatically.
I have an UICollectionViewCell but it is not there apparently.
How can I change the size of a cell in a UICollectionViewController?
Looks like you need to use a UICollectionViewFlowLayout and the UICollectionViewFLowLayoutDelegate and implement
Check out the Ray Wenderlich Tutorial:
http://www.raywenderlich.com/22324/beginning-uicollectionview-in-ios-6-part-12