title: Universal application iPad/iPhone image naming convention?
body: <p>In my application I need to get the correct image based on the device iPad/iPhone 4/iPhone 3 device.</p>
  
  <p>For example: </p>
  
  <p>I have an image named <code>a.png</code> (width 40,height 20) for iPhone 3/iPod, and <code>a@2x.png</code> (width 80,height 40) for iPhone 4.</p>
  
  <p>If I mentioned the code</p>
  
  <pre><code>UIImage *myImage=[UIImage imageNamed:@"a.png"];
  </code></pre>
  
  <p>myImage contains (80*40) image if it's iPhone 4.
  myImage contains (40*20) image if it's iPod/iPhone 3.</p>
  
  <p>My question is how do I get the image for iPad (60*30) like above naming convention.</p>
  
  <p>I tried giving <code>a~ipad.png</code> as an image name and it's not working. Can you point out where there is a mistake?</p>
  
  <p>And if I use the condition using <code>[UIDevice currentDevice];</code> isIpod -> load(60*30) image 
  otherwise load images for iPhone/iPod it's working fine.</p>
  
  <p>But I need to get it to work without using the condition, and using the naming convention like <code>a.png</code> for iPhone/iPod, <code>a.@2x.png</code> for iPhone 4 and likewise for iPad.</p>
  
  <p>Thanks in advance.</p>