-1
這個我試過用正常有些時候alamofireImage我以前不加載圖像
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? – jo3birdtalk