Hi blink0k, I get the same height whether I use getmaxdeviceheight() or getdeviceheight(): 2048. Same thing happens with width, they both report: 1536.
Hi Bengismo, I'm actually using the large iPad Pro 12.9 (2048x2732), and this is the one reporting the 1536x2048 resolution.
I had a look at the "Apples display info" link you wrote. Seems very interesting though I have no idea how to interpret it
That been said, even the numbers reported in that table don't match the ones I get from the commands (1536x2048)...
I was expecting them to be 2048x2732.
What else could it be?
iMac Book Pro, MacOS 10.12.4, Xcode 9.0.1;
iPhone 6, iOS 9.35; iPhone 5s, iOS 9.35; iPad (3rd gen), iOS 9.35;
Dell Precision T7400, Windows 7 Professional 64bit, Visual Studio Community 2015;