从collectionViewCell中的Firebase存储中检索图像

问题描述

我正在尝试通过调用UICollectionViewController中的单元格来检索每张图稿的第一张图像作为单元格,但没有任何反应,也没有出现错误

我的UICollectionViewController中的代码

.section .rodata

我的ArtworkCollectionCell中的代码

.data
var artworksArray = [Artwork]()

override func collectionView(_ collectionView: UICollectionView,cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
       
        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell",for: indexPath) as! ArtworkCollectionCell
    
        cell.configureCell(_artwork: artworksArray[indexPath.row])
        return cell
    }
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)