I want to display as many collectionViewCells
with buttons
as there are strings in my array. but when I start the simulator there is just the backgroun
I removed this code from my CollectionViewController.m file
[self.collectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:reuseIdentifier];
and cell get appeared
The items in the cell weren't showing up for me because I hadn't set tamic for each of the added subviews when programmatically adding subviews.
subview.translatesAutoresizingMaskIntoConstraints = false