Ios 图像视图从url加载旧图像,即使其已更新

Ios 图像视图从url加载旧图像,即使其已更新,ios,caching,sdwebimage,Ios,Caching,Sdwebimage,我使用SDWebimageView从imageview加载图像,当用户更新图像时,它不会反映在图像视图上并加载旧图像 if let image = SessionManager.shared.getUser()?.profilePic { profileImg.sd_setImage(with: URL(string: Constant.assetUrl+image), placeholderImage: UIImage(named: "user (6)-1&q

我使用SDWebimageView从imageview加载图像,当用户更新图像时,它不会反映在图像视图上并加载旧图像

if let image = SessionManager.shared.getUser()?.profilePic {
            profileImg.sd_setImage(with: URL(string: Constant.assetUrl+image), placeholderImage: UIImage(named: "user (6)-1"),options : .refreshCached)
        }else{
            profileImg.image = UIImage(named: "user (6)-1")
        }