title: How to minimize code when using different images for iPad and iPhone?
body: <p>I am almost finished with the iPhone version of my app when I realized that I'm going to have to (probably?) write conditionals for every UI element because they use different graphics. This will make my code very messy. I have 15 different custom UI controls and I can't imagine that setting up a conditional ("if ipad load image_ipad, if iphone load image_iphone") for every method is the best way to do this. Can anyone suggest a particular technique for dealing with this? Or is there a way to name images like you can between retina and regular?</p>