I get a headache trying to resize a cell (width and height) in a UICollectionViewController . With UITableViewController there is a method:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
But with the UICollectionViewController I cannot find a way to do this programmatically.
I have a UICollectionViewCell , but it is not.
How to resize a cell in a UICollectionViewController ?
source share