Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Home Indicator hiding for Iphone X
Started by dmytrodrach Jul 18 2018 03:13 AM

11 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Observer

  • 27 posts
  • Corona SDK

Hi, 

 

The problem in my game is that Home Indicator activates with any click on the screen and I can't leave it like this. 

 

Documentation says:

 

"prefersHomeIndicatorAutoHidden" — iOS only; specify a boolean for value. If set, iPhone X software home indicator would autohide if screen is not interacted with

 

and 

 

"preferredScreenEdgesDeferringSystemGestures" — iOS only; specify a boolean for value. If set, system gestures (Control Center, notification bar, etc.) would not work immediately, but require additional swipe to activate. When possible this setting should be left at default false but can be useful to prevent accidental activation of system gestures in swipe heavy games 

display.setStatusBar( display.HiddenStatusBar )
native.setProperty( "prefersHomeIndicatorAutoHidden", true )
native.setProperty( "preferredScreenEdgesDeferringSystemGestures", true )

But it does not any effect

 

My game video

 

video  as it should be (not mine game example). To use the home indicator in this example user needs to drag it really high, almost to the middle off the screen

 

Any thoughts ? 

 

Kind regands,

-Dmytro



[TOPIC: post.html]
#2

nick_sherman

[GLOBAL: userInfoPane.html]
nick_sherman
  • Corona Geek

  • 1,491 posts
  • Corona SDK

I can't help with your issue but the game looks good!



[TOPIC: post.html]
#3

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Observer

  • 27 posts
  • Corona SDK

I can't help with your issue but the game looks good!

haha, thanks :)



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,331 posts
  • Corona Staff

The videos are not that helpful because we can't see where you're touching and swiping. Can you also provide a text description that details where you're touching/swiping and how the two videos differ?

 

Thanks

Rob



[TOPIC: post.html]
#5

tarunLuthra

[GLOBAL: userInfoPane.html]
tarunLuthra
  • Observer

  • 27 posts
  • Corona SDK

Hello sir. I am getting an error while making a build for iOS. It says Code signing failed. Unknown error: 1xfffffffffffff

I have the latest Corona SDK, installed 6 days back. And I followed all instructions as mentioned in Corona's building for iOS documentation.

Please help.

[TOPIC: post.html]
#6

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 6,923 posts
  • Corona SDK

@tarunLuthra - don't hijack this thread.  start your own.

 

This thread has nothing to do with your problem and hijacking ongoing threads is very rude as well as against the forums' rules.


  • horacebury likes this

[TOPIC: post.html]
#7

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Observer

  • 27 posts
  • Corona SDK

The videos are not that helpful because we can't see where you're touching and swiping. Can you also provide a text description that details where you're touching/swiping and how the two videos differ?

 

Thanks

Rob

 

Hi Rob, 

 

In my game Home Indicator is active for any click on the sceen, no matter what it does, close to the indicator or not. So it is always glows. Video shows that indicator swipe immediately close the app
 
Other video shows indicator that is invisible for user. It also is not active for the clicks/swipes on the screen unless you hold directly on the indicator zone and drag to the top
 
The most ennoing thing is that general look of the game becomes worst because of it  :( 


[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,331 posts
  • Corona Staff

I just tested adding:

native.setProperty( "prefersHomeIndicatorAutoHidden", true )
native.setProperty( "preferredScreenEdgesDeferringSystemGestures", true )

to a landscape game I've been working on, built it and installed it on my iPhone X and taps/touches on the screen do not activate the swipe up bar unless I keep the touch active and seems to behave as I would expect it to.

 

Rob



[TOPIC: post.html]
#9

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Observer

  • 27 posts
  • Corona SDK

I'm unlucky then. Have no idea what to do in such case. When something obvious should work but but it doesn't :/



[TOPIC: post.html]
#10

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,331 posts
  • Corona Staff

Can you put together a small sample app that has the issues you're seeing and share a .zip file with the project in it with us?

 

Thanks

Rob



[TOPIC: post.html]
#11

dmytrodrach

[GLOBAL: userInfoPane.html]
dmytrodrach
  • Observer

  • 27 posts
  • Corona SDK

Hi Rob,

 

Check this please https://www.dropbox.com/s/bvuuu0zc60vu8s2/IPhone10App.zip?dl=0

 

Thanks



[TOPIC: post.html]
#12

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,331 posts
  • Corona Staff

It does seem to misbehave a bit. Initially, it seems fine, but once the indicator shows, it seems like it wants to show up too easily. Tapping outside the area with graphics causes the app to come up with a black screen which looks like something isn't right in your app. If you can address that (as to not confuse others looking at the sample), I would recommend you take that .zip file and file a bug report using the Report a Bug link at the top of the page.

 

Rob




[topic_controls]
[/topic_controls]