PhotoPickerViewCell 请问如果是网络图片如何设置photoView的placeholder 图片
lilin87788 opened this issue · comments
李林 commented
我是这样设置的好像无效
let photoAsset = PhotoAsset(imageURL:url )//urls 是网络图片,当图片不正确时 placeholder 没有显示
cell.photoView.placeholder = UIImage.placeHoldImage(CGSize(width: itemWidth, height: itemWidth))
cell.photoAsset = photoAsset
李林 commented
李林 commented
这样解决的,不知道这样解决是不是对的
Silence commented