diff options
author | Stefan Will | 2019-10-18 18:54:34 -0400 |
---|---|---|
committer | Filippos Karapetis | 2019-10-19 18:04:53 +0300 |
commit | 67abb355f1614b078d7a255d606070aed22bf080 (patch) | |
tree | 985cf626d2561c3dc4544097389d054966d0c1bf /backends/platform/ios7 | |
parent | 287a4a12e22b55487a99d489d3819233ae50bbc4 (diff) | |
download | scummvm-rg350-67abb355f1614b078d7a255d606070aed22bf080.tar.gz scummvm-rg350-67abb355f1614b078d7a255d606070aed22bf080.tar.bz2 scummvm-rg350-67abb355f1614b078d7a255d606070aed22bf080.zip |
IOS7: enable home indicator auto-hide on iPhone X and up
This makes the annoying white line at the bottom of the screen go away
on newer (home button-less) iPhones.
https://developer.apple.com/documentation/uikit/uiviewcontroller/2887510-prefershomeindicatorautohidden
Diffstat (limited to 'backends/platform/ios7')
-rw-r--r-- | backends/platform/ios7/ios7_scummvm_view_controller.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_scummvm_view_controller.mm b/backends/platform/ios7/ios7_scummvm_view_controller.mm index e78fc91f93..92da86f009 100644 --- a/backends/platform/ios7/ios7_scummvm_view_controller.mm +++ b/backends/platform/ios7/ios7_scummvm_view_controller.mm @@ -29,4 +29,8 @@ return YES; } +- (BOOL)prefersHomeIndicatorAutoHidden { + return YES; +} + @end |