【发布时间】:2017-01-13 07:55:34
【问题描述】:
我用普通方法试过了
winnerCell.challengeBannerURL.af_setImage(withURL: URL(string: winnerchallengesData[indexPath.row].challengeDetails.challenge_banner_url)!)
它在正常通话中工作,但在 AlamofireImage 中不工作
let data = try? Data(contentsOf: URL(string: self.winnerchallengesData[indexPath.row].winnerDetails.profileURL)!)
// winnerCell.userProfile.image = UIImage(data:data!)
//
【问题讨论】:
-
您可能想改用 SDWebImage 吗?
标签: ios swift alamofireimage