but now when using LC 9.6 rc2 I'm getting the annoying black bars at the top and the bottom of the iPhone X.
By reading the forum and the quality board it seems the fix is related to loading the proper images to the standalone Splash Screens Launch Images but I can figure out which size should they be and also if this is the only thing I should do.
Can you please help? I guess many of us with Apps on the Apple Store are going to face the same problem
Many thanks, as always
Simon
________________________________________ To "AI", or not to "AI", that is the question
That's how fullScreenMode works: it doesn't provide object-specific placement like we see in most apps, but it does provide a quick and easy to way to have a layout resized for different screen sizes and ratios for those apps which can benefit from such a strategy.
By it's nature fullScreenMode can only stretch, shrink, crop, pad, or some combination thereof.
Thanks Richard, maybe I didn't make myself clear (it wouldn't be the first time).
What I'm trying to figure out is what has changed with LC 9.6 (and how to fix it) as everything was working OK with the previous releases and I haven't changed anything in my code.
Simon
________________________________________ To "AI", or not to "AI", that is the question
Thanks for the clarification. If the fullScreenMode you'd been using was satisfactory with earlier versions, it may well be that newer iOS changes have affected that behavior. And it may be related to the splash screen or storyboard requirements; can't say for sure, but with changes specific to a given release the important stuff is usually outlined in the Release Notes accompanying the version. If you don't find what you need there I'll see if I can turn up why it was left out, and where it can be found.
Richard Gaskin LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Is the problem only on the splash screen? That's what changed in the final release. If so, splash screens are shown by the OS before the stack loads and aren't affected by fullscreenmode. What you do is set the backgroundcolor of the storyboard to the same color as the background of your splash image and borders around the blank areas won't be black.
For the sizes, choose the largest splash you made for the old method, the smallest, and one in between.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Hi Jacque, the problem is not with with the splash screen but with the card itself as can be seen on the attached screens. I haven't set the launch images yet...
LC 9.5.1
LC 9.6.0
Any hints?
Thanks
Simon
________________________________________ To "AI", or not to "AI", that is the question
I think you are seeing this because you have not specified an image for the splash. In the old way, the app would only recognize screen sizes where an image was included. Try including any of your old splash images and see if it is better. My thinking is that it fell back to the default size which gets you the given aspect ratio.
When the screen ratio doesn't fit the stack size ratio you see black bars like that. If you set the background color of the stack or the card the blank areas will use that color. In this case it looks like you'd need to set it to the default gray.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
It's not new so my suggestion may not work, but whenever I see a screen like that it's always been the lack of a background color. I don't know why 9.5.1 didn't do the same thing, it always acted that way in my apps too.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Sorry that my suggestion failed. That makes me want to dig deeper. I have not tried my mobile demo stack with the new launch screen yet. From the screen shot, it is weird. You can see that the scale is slightly different in addition to the black borders.