iPhone xr recommended fullscreenmode?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
iPhone xr recommended fullscreenmode?
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
The notch in the iPhone XR is rending my apps useless.
What can I do to address this issue?
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: iPhone xr recommended fullscreenmode?
Could you post a screenshot so we can see what's happening?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: iPhone xr recommended fullscreenmode?
The notch at the top is covering some of my navigation buttons.
see attachment.
Thanks,
David
see attachment.
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: iPhone xr recommended fullscreenmode?
Looks pretty stretched as well.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: iPhone xr recommended fullscreenmode?
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.
I'm interested in how you solve this because I'm going to need to do it too soon.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: iPhone xr recommended fullscreenmode?
Yes, I am using fullscreenmode.
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: iPhone xr recommended fullscreenmode?
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/
https://developer.apple.com/design/huma ... nd-layout/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: iPhone xr recommended fullscreenmode?
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
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?
in the screenshotI am using fullscreenmode "ExactFit".
-
- VIP Livecode Opensource Backer
- Posts: 7238
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: iPhone xr recommended fullscreenmode?
Try noBorder or showAll, they don't stretch the layout and may work.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: iPhone xr recommended fullscreenmode?
I tried them both, but they did not work well.
Thanks
Thanks
Re: iPhone xr recommended fullscreenmode?
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?
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?
Brian Milby
Script Tracker https://github.com/bwmilby/scriptTracker
Script Tracker https://github.com/bwmilby/scriptTracker
Re: iPhone xr recommended fullscreenmode?
Mercy! That's a lot of script.
I am just novice programmer.
Wow, I hope there is an easier way.
Thanks,
David
I am just novice programmer.
Wow, I hope there is an easier way.
Thanks,
David
Re: iPhone xr recommended fullscreenmode?
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.
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.
Brian Milby
Script Tracker https://github.com/bwmilby/scriptTracker
Script Tracker https://github.com/bwmilby/scriptTracker
Re: iPhone xr recommended fullscreenmode?
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.
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.