tags:

views:

24

answers:

1

What I had done is:

I have one IBOutlet for UIImageVIew and

[self.imgPView setImage:[UIImage imageWithContentsOfFile:imagePath]];

and on somewhere, I had show AlertView

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Warning" message:@"Problem is already submitted, Do you want to submit again?" delegate:self cancelButtonTitle:@"Yes" otherButtonTitles:@"No",nil];
    alert.tag = kProblemSubmitAlert;
    [alert show];

while UIAlertView displays, Image on ImageView disappers, Any Idea?

A: 

If it’s a caching issue, you may have success through initialize your UIImage using +imageNamed: instead of +imageWithContentsOfFile:.

Jeff Kelley