Custom Dynamic Scaling for Different Devices

I have looked everywhere for an answer to this, but can’t seem to find any advice, so here goes:

How would I go about forcing an iPad to only scale up to 640x960? Let’s say I’m developing an application using the base 320x480 config. I’m scaling up to 640x960 using letterbox scaling and ‘@2x’ images. However, I don’t want the iPad to scale up even further. I want the iPad to only scale up to 640x960. From there, I could put a background image behind it as a frame.

I know the common solution here is just to use a slightly larger background image, and just develop within the ‘safe zone’, but in some instances, that’s not an option (physics borders around the edges would seem awkward, might not look correct, would rather use native resolution images than scale up a small amount, etc.).

Look to apps such as ‘Trainyard’ and ‘Pocket Planes’ to see what I mean. They just use the same assets, but the iPad has a border around it. How do I do that here?

[import]uid: 63291 topic_id: 27791 reply_id: 327791[/import]