mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Merge pull request #19287 from hrydgard/double-swipe
iOS: Enable "double-swipe" to switch apps
This commit is contained in:
commit
da294a8c0b
@ -134,7 +134,8 @@ id<PPSSPPViewController> 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 {
|
||||
|
@ -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.");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user