UICollectionView's cellForItemAtIndexPath is not being called

后端 未结 30 2437
再見小時候
再見小時候 2020-12-07 11:11

Only my second time using UICollectionView\'s and perhaps I have bitten off more than I can chew but nevertheless:

I am implementing a UICollectionView (myCollection

30条回答
  •  一整个雨季
    2020-12-07 11:29

    If you're using collection view protocols you must connect the CollectionViewDataSource and CollectionViewDelegate protocols to your ViewController.

提交回复
热议问题