• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

iPhoneX gesture bar

Participant ,
May 23, 2018 May 23, 2018

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

TOPICS
Development

Views

441

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , May 23, 2018 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

Votes

Translate

Translate
Engaged ,
May 23, 2018 May 23, 2018

Copy link to clipboard

Copied

LATEST

Here is an open source ANE which overrides preferredScreenEdgesDeferringSystemGestures

GitHub - DigitalStrawberry/ANE-DeferSystemGestures: Adobe AIR native extension for deferring system ...

I imagine it can be modified to also override prefersHomeIndicatorAutoHidden

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines