UIImageView returning nil in a custom UICollectionViewCell

前端 未结 3 1392
面向向阳花
面向向阳花 2021-01-22 19:27

I asked a similar question last week but I think I have it narrowed down to more specifically what is going wrong. The custom cell is being loaded and looks to be called correct

3条回答
  •  甜味超标
    2021-01-22 19:51

    For me no solution of this often discussed topic helped directly. Finally I solved it with adding the "Collection Reusable View"-identifier to the storyboard custom cell. This value I set to the same value as in the DataSource-Function dequeueReusableCell(withReuseIdentifier:...). I think this is a very basic thing :)

提交回复
热议问题