[Interest] How to distinguish from iPhone screen type with Qt/Qml

ekke ekke at ekkes-corner.org
Mon Dec 3 13:47:49 CET 2018

Hi Nuno,
one way is to detect from pixels

perhaps this gives you an idea:

later will use mobile device types to better distinguish between
different models
best overview I found here: https://gist.github.com/adamawolf/3048717

Am 03.12.18 um 13:34 schrieb Nuno Santos:
> Hi,
> I’m trying to make my iOS apps ready for iPhone X screen as well as the new iPads.
> How can I distinguish the screen types? Can I do that directly from Qml? How?
> Thanks in advance!
> Regards,
> Nuno
> _______________________________________________
> Interest mailing list
> Interest at lists.qt-project.org
> https://lists.qt-project.org/listinfo/interest

More information about the Interest mailing list