dynamic image selection problem

Hi,

I’m having trouble getting dynamic image selection to work on a new project.

Here is my config.lua

application = { content = { width = 320, height = 480, scale = "letterbox", imageSuffix = {          ["@2x"] = 1.5,          ["@4x"] = 3         }, }, }

I have the files names correctly… filename.png, filename@2x.png, filename@4x.png, but they just aren’t being picked up by the app?

I’m on Corona 2016.2806

Thanks,
Nathan.

On which devices are you testing?

iPhone 6 + 6S.

Also the Apple Simulator for iPhone 5.

They are all using the default (1x) image.

You are using display.newImageRect, yes?

Oh dear, how embarrassing - thanks for the pickup!

On which devices are you testing?

iPhone 6 + 6S.

Also the Apple Simulator for iPhone 5.

They are all using the default (1x) image.

You are using display.newImageRect, yes?

Oh dear, how embarrassing - thanks for the pickup!