config.lua The ultimate !

Hi all, i have the following code in my config.lua file as directed by tutorial in Corona. My two images for my splash screen are Splash.png and Splash@2x.png 

Works fine for the iPhone and iPhone 4 Did i miss something ?

But it appears that the image for my iPhone 5 is not picking up the @2x image not filling the screen. 

Any Help please is appreciated. 

JZ 

if ( string.sub( system.getInfo(“model”), 1, 2 ) == “iP” and display.pixelHeight > 960 ) then

   application =

   {

      content =

      {

         width = 320,

         height = 568,

         scale = “letterBox”,

         xAlign = “center”,

         yAlign = “center”,

         imageSuffix =

         {

            ["@2x"] = 1.5,

            ["@4x"] = 3.0,

         },

      },

   }

elseif 

    ( string.sub( system.getInfo(“model”), 1, 2 ) == “iP”)  then

   application =

   {

      content =

      {

         width = 320,

         height = 480,

         scale = “zoomStretch”,

         xAlign = “center”,

         yAlign = “center”,

         imageSuffix =

         {

            ["@2x"] = 1.5,

            ["@4x"] = 3.0,

         },

      },

   }

end

See “Important” under “Launch Images”: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#launch-images

Thanks Jon, 

just got to this today.

Will Do

Regards

JZ 

See “Important” under “Launch Images”: http://docs.coronalabs.com/guide/distribution/buildSettings/index.html#launch-images

Thanks Jon, 

just got to this today.

Will Do

Regards

JZ