Skip to main content
Oldes
Inspiring
May 23, 2018
Answered

iPhoneX gesture bar

  • May 23, 2018
  • 1 reply
  • 502 views

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

This topic has been closed for replies.
Correct answer el111

Here is an open source ANE which overrides preferredScreenEdgesDeferringSystemGestures

GitHub - DigitalStrawberry/ANE-DeferSystemGestures: Adobe AIR native extension for deferring system gestures on iOS

I imagine it can be modified to also override prefersHomeIndicatorAutoHidden

1 reply

el111Correct answer
Legend
May 23, 2018

Here is an open source ANE which overrides preferredScreenEdgesDeferringSystemGestures

GitHub - DigitalStrawberry/ANE-DeferSystemGestures: Adobe AIR native extension for deferring system gestures on iOS

I imagine it can be modified to also override prefersHomeIndicatorAutoHidden