I am working on an app and have hit a brick wall so I’m throwing it out here to see if I get any insight/suggestions.
My app runs Landscape mode, build settings looks like:
settings = {
orientation =
{
default = "landscapeRight",
supported =
{
"landscapeRight",
"landscapeLeft"
},
},
My config.lua looks like:
if system.getInfo("model") ~= "iPad" then
application =
{
content =
{
width = 640,
height = 960,
scale = "letterbox",
fps = 30
},
}
else
application =
{
content =
{
width = 768,
height = 1024,
scale = "none",
fps = 30
},
}
end
I use:
local theDeviceIs = system.getInfo( "model" )
to help determine which background images I want to display.
The problem: I have a slideshow of 11 960x640 JPG images that I show in one portion of my app and on the iPhone4 Sim skin it shows the images full screen (as desired). On the physical device, the images are showing up at what appears to be a scale of 0.5 yet I have confirmed that the scale being set is in fact p:scale(1,1)
Interesting Clues: If I set that scale to 2,2 the full screen images on the iPhone4 become full screen (although they slightly bleedover the display area and are slightly cutoff - which is interesting that it’s not a perfect fit). Also the display on the iPhone Sim shows them at scale 0.5 and in fact on a physical 3GS device it’s consistent with how it looks (ie 0.5 scale).
Inclination: My gut tells me somehow the device is scaling the display; now why it’s ONLY doing it on this portion of the app is unclear. I have several other screens including different functionality that all display FULL SCREEN on my iPad, iPhone4 devices and are consistent with what they look like on the Sim. It’s only this slideView picture code (that someone else gave me) that is having issues. It seems to be a system thing but I cannot for the life of me figure out why it thinks it has to shrink the images on the device while the iPhone4 Sim shows it properly. [import]uid: 74844 topic_id: 17726 reply_id: 317726[/import]

[import]uid: 74844 topic_id: 17726 reply_id: 67554[/import]