Scaling ipad content down to iphone

Hey guys,
So i do know all about dynamic content scaling, I think im just in a weird situation. I developed my app for iPad and am currently displaying my images at twice their resolution and scaling them in half using “display.newImageRect” So it looks good and crisp. now i want to make the app universal so it will run on iphone as well, when i run it on iphone the sides are being cut off because the iphone is less wide. Can anyone give any ideas or tips of how i could make this work? btw my config file is setup for 320x480 “letterbox”

I’m also wondering if corona has a way of telling the code what device its running on? If so then perhaps i could tweak some graphics depending on what device its on. I dont want to have 2 sets of each graphic.

thanks [import]uid: 19620 topic_id: 21141 reply_id: 321141[/import]

Well i found a solution to my own problem so hopefully someone else can benefit from this. http://developer.anscamobile.com/reference/index/systemgetinfo
This link talks about system.info and how you can find out what device your app is running on, that way if my app runs on a iphone, i can make what necessary changes that i need to so the graphics fit better. [import]uid: 19620 topic_id: 21141 reply_id: 83688[/import]

Thanks for updating this, may help others in the future :slight_smile:

Peach [import]uid: 52491 topic_id: 21141 reply_id: 83719[/import]