I have build an app that has a user profile. The user can change his profile image by uploading his new one.
The app also has a table view where all users upload their posts. When send/upload a new post or the article it will appear in this table with the user name and his profile image (something like Twitter or Instagram).
The problem is that when the user change his profile image, It does not change in the table where he posted his article. I can check the profile directly through the internet explorer and it shows the new image.
I am using the code below to show the image in the table:
[myCell.userImage sd_setImageWithURL:[NSURL URLWithString:item.userImageUpload]
placeholderImage:[UIImage imageNamed:@"video_no_image.jpg"]options:SDWebImageRefreshCached];
I hope to find the problem. Thanks