Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-05-2010, 04:48 AM   #23 (permalink)
iphone66
Registered Member
 
Join Date: Feb 2010
Posts: 4
Question

Quote:
Originally Posted by alexy View Post
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
iphone66 is offline   Reply With Quote
 

» Advertisements
» Online Users: 282
15 members and 267 guests
ADY, betterlee, BrianSlick, chits12345, higgey, JohnS., Joseph Nardone, leahov, marshusensei, OneHubCapMissing, Paul10, Phi, Promo Dispenser, RoryHarvey, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,219
Posts: 380,705
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:09 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.