Why doesn't Dynamic Image Resolution work on the device.

I followed all the Dynamic Image Resolution rules to get 1x images to work on my iPhone 3 and 2x images to work on my iPad. When I build for simulator and switch between iPhone 3 and iPad I can see that the images are being swapped appropriately, but when I build for device (iPhone) and run the build on my iPad the image shown is still the 1x image.

What could be causing this?

could you post your config.lua file so we can know your configuration?

i follow that tutorial and it works :)

1
2
3
4
5
6
7
8
9
10
11
12
13
application =
{
    content =
     {
            width = 320,
            height = 480,
            scale = "letterbox",
                        imageSuffix =
                        {
                                        ["@2x"] = 2,
                        },
     },
}

Standard setup. Nothing special was done

I downloaded and tried the DynamicImageResolution sample. And just like my app the sample code works in the Corona simulator but not on my iPad or iPad2. Why?

views:1488 update:2011/10/1 9:04:19
corona forums © 2003-2011