Copy link to clipboard
Copied
Hello,
current stupid gesture bar on iPhoneX at the bottom of the screen has by default full opacity, and it takes one swipe to get out of the game. I would like to minimise it to have it at least in half-opacity and double-swipe-to-exit enabled. It could be done using overrides to these two methods in the main view controller:
- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures {
return UIRectEdgeBottom;
}
- (BOOL)prefersHomeIndicatorAutoHidden {
return false;
}
The question is, how to do it using AIR's native extension?
Any help?
Thanks,
David
Here is an open source ANE which overrides preferredScreenEdgesDeferringSystemGestures
I imagine it can be modified to also override prefersHomeIndicatorAutoHidden
Copy link to clipboard
Copied
Here is an open source ANE which overrides preferredScreenEdgesDeferringSystemGestures
I imagine it can be modified to also override prefersHomeIndicatorAutoHidden