[Scummvm-git-logs] scummvm master -> 67abb355f1614b078d7a255d606070aed22bf080

bluegr bluegr at gmail.com
Sat Oct 19 17:04:58 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
67abb355f1 IOS7: enable home indicator auto-hide on iPhone X and up


Commit: 67abb355f1614b078d7a255d606070aed22bf080
    https://github.com/scummvm/scummvm/commit/67abb355f1614b078d7a255d606070aed22bf080
Author: Stefan Will (swill at zendesk.com)
Date: 2019-10-19T18:04:53+03:00

Commit Message:
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

Changed paths:
    backends/platform/ios7/ios7_scummvm_view_controller.mm


diff --git a/backends/platform/ios7/ios7_scummvm_view_controller.mm b/backends/platform/ios7/ios7_scummvm_view_controller.mm
index e78fc91..92da86f 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





More information about the Scummvm-git-logs mailing list