diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-24 17:11:40 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-30 15:59:20 +0000 |
commit | 1a55c929332cacfc7e3934810fa1a4601f39846b (patch) | |
tree | b520972037fc6f83611f4a70760692a2ee3bba19 /src/plugins/platforms/ios/qiosapplicationstate.h | |
parent | 109290753b59e554a70639a9764259a3c61fd58a (diff) |
iOS: Compute screen available geometry based on safe area insets
In addition to the (deprecated) applicationFrame property, we
base the available geometry on the root view's safe area, which
also takes into account system-reserved areas on iPhone X, and
the screen's bezel in the case of tvOS.
Change-Id: I252d960a0e486dd0c7e30843f88c0bf5684feb24
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosapplicationstate.h')
0 files changed, 0 insertions, 0 deletions