Strange layout of main app window on iOS
Unsolved
Mobile and Embedded
-
Today I noticed, that the main app window with the code below:
import QtQuick import QtQuick.Controls import QtQuick.Layouts ApplicationWindow { id: window visible: true width: 360 height: 640 title: appName ... }
is not resized automatically to fit the screen on iOS.
Also I tried
clock
example (qt-everywhere-src-6.2.2/qtdoc/examples/demos/clocks
), that looks like this:is it a normal behaviour?
my QT version is 6.2.2
-
@Dmitriano It is probably not a trivial question because, as far as I see, setting window width and height to
Screen.width
andScreen.height
is not a solution, because there can be task bar and something else (I do not know what can it be on iOS) that partially occupies the screen.