From 67abb355f1614b078d7a255d606070aed22bf080 Mon Sep 17 00:00:00 2001 From: Stefan Will Date: Fri, 18 Oct 2019 18:54:34 -0400 Subject: 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 --- backends/platform/ios7/ios7_scummvm_view_controller.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/platform/ios7') 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 -- cgit v1.2.3