summaryrefslogtreecommitdiff
path: root/platform/iphone/view_controller.h
diff options
context:
space:
mode:
authorfogine <7884288+fogine@users.noreply.github.com>2019-08-21 18:55:21 +0200
committerfogine <7884288+fogine@users.noreply.github.com>2019-08-21 22:22:18 +0200
commite0df9de0cb307b415e23a5157092eb5c8334c6b0 (patch)
tree31a7d927a17358d1bf1076b5c71e0cda72cb5227 /platform/iphone/view_controller.h
parent3bd49dabfa909187d514e018ff7c60339e343c71 (diff)
iOS>=11 platform - when handling gestures on screen edges, godot apps should have priority over OS
Solves an issue where iOS would steal InputEventTouch events when near screen edges in order to handle system wide gestures. Fixes #31503
Diffstat (limited to 'platform/iphone/view_controller.h')
-rw-r--r--platform/iphone/view_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/iphone/view_controller.h b/platform/iphone/view_controller.h
index fc18661f62..68e3bc64fc 100644
--- a/platform/iphone/view_controller.h
+++ b/platform/iphone/view_controller.h
@@ -39,6 +39,10 @@
- (void)didReceiveMemoryWarning;
+- (void)viewDidLoad;
+
+- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures;
+
- (BOOL)prefersStatusBarHidden;
@end