Another screen size question (iphone6)
Posted: Mon Jul 25, 2016 9:08 am
I'm moving/updating one of my apps from android to iOs as well as from LC 6 to LC 8 and have an issue with the screen size suggested by LC 8 and what appears in the simulator for an iPhone 6 (and 6s).
I'm a little bit rusty on the LC mobile side as it's been a couple of years since I've needed to do anything other than desktop apps, so to check I knew what I was doing I started with just a simple 1 screen, 1 button app.
I created a new stack and used the LC suggestion for iPhone 6 (375 x 667). I added 1 button and set it to be on the right hand side of the screen.
When I run it via the simulator (hardware set as iPhone 6 or 6s) the button is mostly off screen.
I've had the simple app report the screen resolution (via iphoneDeviceResolution) and it returns 640,1136.
If I work with a stack size of 320 x 568 everything fits fine - am I doing something wrong or is the LC suggested size wrong? I've played around with pixelscale and fullscreenmode but nothing seems to get the suggested 375x667 (at any scale) to fit.
I'm a little bit rusty on the LC mobile side as it's been a couple of years since I've needed to do anything other than desktop apps, so to check I knew what I was doing I started with just a simple 1 screen, 1 button app.
I created a new stack and used the LC suggestion for iPhone 6 (375 x 667). I added 1 button and set it to be on the right hand side of the screen.
When I run it via the simulator (hardware set as iPhone 6 or 6s) the button is mostly off screen.
I've had the simple app report the screen resolution (via iphoneDeviceResolution) and it returns 640,1136.
If I work with a stack size of 320 x 568 everything fits fine - am I doing something wrong or is the LC suggested size wrong? I've played around with pixelscale and fullscreenmode but nothing seems to get the suggested 375x667 (at any scale) to fit.