UICollectionView inside TableViewCell not called

后端 未结 3 2051
轻奢々
轻奢々 2020-12-11 12:12

I have a UITableView contains one horizontal scroll UICollectionView in every cell like this

override func tableView(_ tableView: UITableView, cellForRowAt i         


        
3条回答
  •  春和景丽
    2020-12-11 12:25

    Write collection view code on cell class. And give collectionview delegate to cell because cell is super class of collection view. Check this screen shot

提交回复
热议问题