Quote:
Originally Posted by alexy
Same concept to mentioned by Smasher above, but instead use the item string
UIImage *myRandomImage = [UIImage imageNamed:item];
With this UIImage, you can add it to a button, UIImageView or whatever you see fit.
Hope that helps.
|
fine......thanks........but i am not clear.......i have two images and would like to display any one of them....can i get the full code