diff --git a/ios/ViewController.mm b/ios/ViewController.mm index 6462d6a8a7..d36c329606 100644 --- a/ios/ViewController.mm +++ b/ios/ViewController.mm @@ -134,7 +134,8 @@ id sharedViewController; } - (BOOL)prefersHomeIndicatorAutoHidden { - return YES; + // Would love to hide it, but it prevents the double-swipe protection from working. + return NO; } - (void)shareText:(NSString *)text { diff --git a/ios/ViewControllerMetal.mm b/ios/ViewControllerMetal.mm index c543b4822b..f1288a6eaa 100644 --- a/ios/ViewControllerMetal.mm +++ b/ios/ViewControllerMetal.mm @@ -481,7 +481,8 @@ void VulkanRenderLoop(IOSVulkanContext *graphicsContext, CAMetalLayer *metalLaye } - (BOOL)prefersHomeIndicatorAutoHidden { - return YES; + // Would love to hide it, but it prevents the double-swipe protection from working. + return NO; } - (void)shareText:(NSString *)text { @@ -531,7 +532,6 @@ extern float g_safeInsetBottom; [self updateGesture]; } - - (void)updateGesture { INFO_LOG(SYSTEM, "Updating swipe gesture.");