I have a UIImageView that I set a placeholder image in it, Then I want to gradually set the real image to it at the end, But this change should be according to the progress of downloading another file. (Not the image)
When the file is 10% the image fades in by 10% then 20 till it is 100% exchanged with the previous image.
I have seen code using CATransition But I don't know how to use it in this case.
You may want to check this answer. Transition from image to another