Hi,
I’m a new user of Corona Enterprise.
I’m working on a new Universal App which definitely needs Enterprise.
My devices orientations are (both for iPhone and iPad) :
- Landscape Left
- Landscape Right
My problem is : I don’t understand display.contentWidth and display.contentHeight values.
So it’s almost impossible to display correctly my assets on my different screens.
In my main.lua, I asked to print these values.
Here the results for each device
___________________________________________________________________________
iPad 2, iPad Air, iPad Retina, ** Resizable iPad ** :
- display.contentWidth : 900
- display.contentHeight : 1200
___________________________________________________________________________
Resizable iPhone :
- display.contentWidth : 1200
- display.contentHeight : 900
___________________________________________________________________________
iPhone 4s :
- display.contentWidth : 1200
- display.contentHeight : 800
___________________________________________________________________________
iPhone 5, iPhone 5s, iPhone 6 Plus, iPhone 6 :
- display.contentWidth : 1420
- display.contentHeight : 800
___________________________________________________________________________
I don’t “recognise” these values!
Sometimes display.contentWidth > display.contentHeight and sometimes display.contentWidth < display.contentHeight
:wacko:
Any help would be very appreciated
I’m stuck with this for days now…
Thank you!!!