Hi,
When I run my app in the simulator with the iPhone 6 Plus preset I get these numbers:
pixelWidth: 1080 actualContentWidth: 800.4375 Scale factor: 1.3492621222769
but when I run the same app on the actual iPhone 6 Plus I get:
pixelWidth: 834 actualContentWidth: 800.21203613281 Scale factor: 1.0422237636295
This makes the simulator use @2x images and the actual phone use regular images.
What could be causing the problem?
My config.lua is:
local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 800 or math.ceil( 1200 / aspectRatio ), height = aspectRatio \< 1.5 and 1200 or math.ceil( 800 \* aspectRatio ), scale = "letterBox", fps = 60, imageSuffix = { ["@2x"] = 1.3, }, }