I used the follwing code to add image in alert view. But its not working.
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Popup" message:@"popup" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles: nil];
UIImageView *tempImg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"gg.jpg"]];
tempImg.contentMode = UIViewContentModeScaleToFill;
tempImg.frame = CGRectMake(90, 40, 100, 120);
// tempImg.image = [UIImage imageNamed:@"gg.jpg"];
[alert addSubview:tempImg];
[alert show];
Thanks in advance