how to reload a collectionview that is inside a tableviewcell

前端 未结 4 1289
闹比i
闹比i 2020-12-19 10:25

I have a collectionView inside a tableViewCell

for example: \"example\" credit: How to use StoryBoard quick bui

4条回答
  •  不知归路
    2020-12-19 11:17

    I found out how! In my tableViewCell class I just need to link the collectionView as an outlet so in my tableViewCell's cellForRowAtIndexPath I just needed to call cell.collectionView.reloadData()

提交回复
热议问题