Hi guys,
I have two different apps with identical config.lua and build.settings and when I run each one and output the display.pixelWidth and the display.contentWidth on the same device (an iPad PRO) I get two different numbers??!?
One of the apps says pixelWidth = 1536, contentWidth = 768 while the other one says exactly 25% bigger pixelWidth = 2048, contentWidth = 768.
Here is the config.lua (same for both apps):
application = { content = { scale = "adaptive", fps = 60, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3 }, }, notification = { iphone = { types = { "badge", "sound", "alert" } } }, }
It’s causing major problems - when I declare an item as 800 wide it’s correct (1:1) in one app, but there’s dynamic scaling going on in the other.
Thanks,
Nathan.