iPad Pro display.contentWidth and display.contentHeight error

Hey Guys, I’m getting an error with display.contentWidth and display.contentHeight on the iPad Pro in XCode Simulator.

When first launching the app in portrait mode, Corona returns correct values for contentWidth (1024) and contentHeight (1366).

However when re-orienting the iPad, Corona seems to swap the two values. So in landscape mode it’ll say width is 1024 and height is 1366.

And when returning to portrait mode, it says width is 1366 and height is 1024.

I’m using adaptive scaling in config.lua. Has anyone else seen this error?

You will probably need to file a bug report on this.

Your project should contain a main.lua, config.lua and build.settings and any art/sound assets needed to run the demo. The code should be the minimal that can reproduce the problem.  Put the whole thing in a .zip file and submit it with the form on the Report a bug form.

Once you file the report, you will get an email with a CaseID number. Please post that back here as a reference.

Rob

You will probably need to file a bug report on this.

Your project should contain a main.lua, config.lua and build.settings and any art/sound assets needed to run the demo. The code should be the minimal that can reproduce the problem.  Put the whole thing in a .zip file and submit it with the form on the Report a bug form.

Once you file the report, you will get an email with a CaseID number. Please post that back here as a reference.

Rob