I also had the same problem, regardless of whether I use myImageView.image = nil or [myImageView setImage:nil] , the image is still displayed on a UIImageView ; assuming one should work. He spends many hours debugging and figuring out where the problems are. Finally, I did this using the following code,
[UIView beginAnimations:nil context:nil]; [UIView animateWithDuration:1 animations:nil]; myImageView.image = nil; [UIView commitAnimations];
I donβt know why, but when I work as animation, then the image can be understood.
TonyNet Aug 17 '11 at 15:50 2011-08-17 15:50
source share