Hi
In my application i need to get the correct image based on the device ipad/iphone4/iphone3 device.
for example
i have image name a.png(width 40,height 20) its for iphone3/ipod ,and if i give [email protected] (width 80,height 40) its for iphone4 ,
if i mentioned the code UIImage *myImage=[UIImage imageNamed:@"a.png"];
myImage contains (80*40) image if its iphone4 myImage contains (40*20) image if its ipod/iphone3
my question is how do i get the image for ipad(60*30) like above naming convention,
i tried giving a~ipad.png as a image name and its not working,
can u point me out where i am doing mistake.
and if i use the condition using [UIDevice currentDevice]; isIpod -> load(60*30) image otherwise load images for iphone/ipod its working fine.
but i need to get it work without using the condition, and using the naming convention like a.png for iphone/ipod [email protected] for iphone4 like wise for ipad,
Thanks in advance.