From 65d377884bf218a28f11970d007e793325aa73d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20A=2E=20A=CC=81lvarez?= Date: Fri, 1 Mar 2024 22:49:04 +0100 Subject: [PATCH] auto-hide home indicator --- Mini vMac/ViewController.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mini vMac/ViewController.m b/Mini vMac/ViewController.m index 2735237..ba0ddad 100644 --- a/Mini vMac/ViewController.m +++ b/Mini vMac/ViewController.m @@ -161,6 +161,10 @@ static int8_t usb_to_adb_scancode[] = { [[NSUserDefaults standardUserDefaults] removeObserver:self forKeyPath:@"trackpad"]; } +- (BOOL)prefersHomeIndicatorAutoHidden { + return YES; +} + - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (motion == UIEventSubtypeMotionShake) { [[AppDelegate sharedInstance] showInsertDisk:self];