Can't get UICollectionView to display cells

前端 未结 2 1006
日久生厌
日久生厌 2021-01-02 13:56

I\'m trying to get a UICollectionView to display inside a modally presented view controller. The app is for iPad iOS 7.

I\'ve created subclass of UIViewController (w

2条回答
  •  长情又很酷
    2021-01-02 14:27

    One other point of interest is that if you set the cell's identifier in the nib or storyboard, don't register the nib/class in the collection view controller. Do one or the other, but not both.

提交回复
热议问题