Page 1 of 2

iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 2:50 pm
by DR White
What is the iPhone xr recommended fullscreenmode?

The notch in the iPhone XR is rending my apps useless.
What can I do to address this issue?

Thanks,

David

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 3:59 pm
by jacque
Could you post a screenshot so we can see what's happening?

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 5:00 pm
by DR White
The notch at the top is covering some of my navigation buttons.
see attachment.

Thanks,

David

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 7:51 pm
by FourthWorld
Looks pretty stretched as well.

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 8:20 pm
by jacque
That helps. Are you using a fullscreenmode? If so, which one? I think I'd try "showAll" and if that doesn't work try "noBorder". The last will scale to the width and usually cuts off some of the top, but that's what you want. Or if you don't want to use a fullscreenmode, does the effective working rect of the stack give you better dimensions?

I'm interested in how you solve this because I'm going to need to do it too soon.

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 8:27 pm
by DR White
Yes, I am using fullscreenmode.

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 8:35 pm
by FourthWorld
I wonder if it would be better if fullScreenMode were revised to be limited to the region below the notch, per Apple's guidelines:

https://developer.apple.com/design/huma ... nd-layout/

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 10:08 pm
by DR White
FourthWorld,

I have tried all the variations of fullScreenMode and none of them provide a professional appearance on the new iPhones.

It would be very much appreciated, if LC could revise the fullScreenMode to accommodate the new iPhones. I really thought LC would have done it by now.

Thanks,

David

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 10:12 pm
by DR White
in the screenshotI am using fullscreenmode "ExactFit".

Re: iPhone xr recommended fullscreenmode?

Posted: Tue Jun 04, 2019 11:51 pm
by jacque
Try noBorder or showAll, they don't stretch the layout and may work.

Re: iPhone xr recommended fullscreenmode?

Posted: Wed Jun 05, 2019 12:31 am
by DR White
I tried them both, but they did not work well.

Thanks

Re: iPhone xr recommended fullscreenmode?

Posted: Wed Jun 05, 2019 12:38 am
by bwmilby
See:
https://github.com/bwmilby/mobileDemo

Specifically the SetBackground handler here:
https://github.com/bwmilby/mobileDemo/b ... codescript

Using showAll you can set a background object a precise size to cover the whole screen.

Unfortunately due to the aspect ratio of the X models, fullScreenModes are going to be less than optimal.

Also, what is the size of the stack as developed?

Re: iPhone xr recommended fullscreenmode?

Posted: Wed Jun 05, 2019 12:43 am
by DR White
Mercy! That's a lot of script.

I am just novice programmer.

Wow, I hope there is an easier way.

Thanks,

David

Re: iPhone xr recommended fullscreenmode?

Posted: Wed Jun 05, 2019 1:14 am
by bwmilby
I think that a background pattern will fill the screen as well. You do not need to exactly fill the screen just as long as the background image is as large or larger than the virtual coordinates of the scaled screen size. My code was demonstrating that I could draw a box outline that traced the outline of the screen. I really need to get some screen shots up on the repo.

The issue that you are running up against is that showAll wastes about 18% of the screen assuming that you used a 16:9 ratio (.56 portrait - iPhone 5/6/6+) for development.

If you do not need to support landscape, you may be able to use the geometry manager. The only thing I’m not sure about is how you would handle the notch since you would need to make a change depending on the device.

Re: iPhone xr recommended fullscreenmode?

Posted: Wed Jun 05, 2019 9:53 am
by DR White
Yes, LC needs to have a function to get iPhone model.

It also, would be great if LC could have a custom fullscreenmode that had border parameters.

But, I understand that LC cannot cater to every unique situation.