iPhone X home indicator hiding

Can we have some way to hide the iPhone X home indicator in our apps, it tends to obscure things like UI when were going for full immersion.   

I believe the iOS sdk implementation is to override the view controller so it autohides.  

func prefersHomeIndicatorAutoHidden() -> Bool {
    return true
}

Article in depth guide

FYI The Home indicator is the little white or black bar that sits at the bottom of the screen as shown here

fGEC9TJ.png

Hopefully Corona can get this in soon as it obscures a lot of App UI

An implementation in Corona could look something like

native.setProperty(“prefersHomeIndicatorAutoHidden”,  true)

+1

I’m surprised this hasn’t been requested more or event mentioned at all… 

feature2.png

DONE!!

Link here

iOS: adding prefersHomeIndicatorAutoHidden option to native set/get property function

2017.3174

 

:wink:

Thanks so much for doing this, however I just tested it and the home indicator will hide after no screen interaction, but will immediately re appear when I start touching the screen a few times (not even in the home indicator area).  It will re-hide after no prolonged interaction and immediately reappear when there is any screen interaction.

Thus any game or app that’s not a media player will be unable to hide it  for long

Perhaps a solution lies in this article here

I don’t know if it’s possible to permanently hide it (except when tapping the home area) but right now it’s not ideal.

You can not permanently hide Home Button thingy. This is same as on android - you can only suggest system to try to hide it. Implementation is pretty similar to article you posted.

Thanks for fixing this!

just to confirm, this is implemented like this, correct?

native.setProperty( “prefersHomeIndicatorAutoHidden”, true )

doesn’t seem to be having any effect for me.     

Just for others messing with this, I figured out what my specific problem was. My app was set to only support a single orientation, which I’m guessing is a condition that overrides the set preference. I added another orientation and now it works as expected. 

+1

I’m surprised this hasn’t been requested more or event mentioned at all… 

feature2.png

DONE!!

Link here

iOS: adding prefersHomeIndicatorAutoHidden option to native set/get property function

2017.3174

 

:wink:

Thanks so much for doing this, however I just tested it and the home indicator will hide after no screen interaction, but will immediately re appear when I start touching the screen a few times (not even in the home indicator area).  It will re-hide after no prolonged interaction and immediately reappear when there is any screen interaction.

Thus any game or app that’s not a media player will be unable to hide it  for long

Perhaps a solution lies in this article here

I don’t know if it’s possible to permanently hide it (except when tapping the home area) but right now it’s not ideal.

You can not permanently hide Home Button thingy. This is same as on android - you can only suggest system to try to hide it. Implementation is pretty similar to article you posted.

Thanks for fixing this!

just to confirm, this is implemented like this, correct?

native.setProperty( “prefersHomeIndicatorAutoHidden”, true )

doesn’t seem to be having any effect for me.     

Just for others messing with this, I figured out what my specific problem was. My app was set to only support a single orientation, which I’m guessing is a condition that overrides the set preference. I added another orientation and now it works as expected.