Another naive iOS question - filling the iPad screen
livfoss at mac.com
Tue Feb 14 11:54:00 CST 2012
I read that the size of the screen available to a LC stack on the iPad is 1024 x 768, so I made a stack that big. I then placed a graphic on the screen which was intended to provide a black background: I made this 1024 x 768 as well, and I set its top corners to 0,0. Oddly a chunk of white showed at the bottom of the window, and if I moved my graphic down 24 pixels, the chunk of white showed at the top. So the sizes aren't the same. If I show the stack on the simulator, I get the same effect, i.e. not all the screen is black, but instead a 24-pixel chunk of white appears, always at the top. Is this what's supposed to happen? And anyway why doesn't a graphic made the same size as a stack not actually occupy the same space as a stack?
Told you I was naive.
More information about the use-livecode