UICollectionView Layout Issue

前端 未结 15 1783
天涯浪人
天涯浪人 2020-12-24 00:17

I am using UICollectionView using the flow layout. I have made a custom UICollectionViewCell for the same. But on running the project the console k

15条回答
  •  渐次进展
    2020-12-24 01:14

    I just ran into the same error message, but for me the issue was that when I received new data from the api and tried to refresh my collectionView, the method that called [collectionView reloadData] wasn't calling it on the main thread.

    Hope this helps someone...

提交回复
热议问题