So I've used LiveCode to build Windows desktop apps and am now venturing into mobile apps on the iPhone platform. As I have an iPhone Xr I'm using that as my target device in the simulator and when deploying to my device to test. I'm keeping this real simple and just have a "Hello World" app that just displays some text on the screen. It appears that even if I size the LC stack to the dimensions of the iPhone Xr the rendered app doesn't fill the entire screen. I get a black band at the top and another at the bottom. (see image)
I only have 3 lines of code in my test app at the moment in the stack itself
Code: Select all
on preOpenStack
set the fullscreenmode of this stack to "exactFit"
end preOpenStack
How do I fill the entire screen and use the top and bottom areas? I feel like I'm missing something really obvious here.
Thanks for any pointers.
Al.