Page 1 of 1

fullScreenMode not working with iPad/iPhone simulator

Posted: Mon Jun 02, 2014 4:49 pm
by trags3
I have a stack that I have been working with on android. The set the fullScreenMode is set to "exactFit" on the preOpenStack handler.
When I test the app on the Ipad or iPhone simulator the top of the stack is cut off (approximately the 1st 100 pixels)
I have tried various settings ie "noborder" etc and the result is pretty much the same.
The stack size is 400 by 720.

What am I doing wrong?

Tom

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Tue Jun 03, 2014 3:54 am
by trags3
trags3 wrote:I have a stack that I have been working with on android. The set the fullScreenMode is set to "exactFit" on the preOpenStack handler.
When I test the app on the Ipad or iPhone simulator the top of the stack is cut off (approximately the 1st 100 pixels)
I have tried various settings ie "noborder" etc and the result is pretty much the same.
The stack size is 400 by 720.

What am I doing wrong?

Tom
I'm using Livecode ver 6.6.2 -rc-3

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Tue Jun 03, 2014 7:07 pm
by jacque
I don't know if it will fix it, but the latest release of 6.6.2 is RC 6. You could try downloading that and see if it helps.

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Fri Jun 06, 2014 1:52 am
by trags3
trags3 wrote:
trags3 wrote:I have a stack that I have been working with on android. The set the fullScreenMode is set to "exactFit" on the preOpenStack handler.
When I test the app on the Ipad or iPhone simulator the top of the stack is cut off (approximately the 1st 100 pixels)
I have tried various settings ie "noborder" etc and the result is pretty much the same.
The stack size is 400 by 720.

What am I doing wrong?

Tom
I'm using Livecode ver 6.6.2 -rc-3
Ok, I think I found it. I am working with a Mac Book Pro with a 1440 x 900 screen.
A retina display won't fit so the simulator truncates quite a bit of the stack.

Tom

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Fri Jun 06, 2014 2:14 am
by Simon
Hi Tom,
What happens when you scale the window?
iOS Simulator Window > Scale

Simon

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Fri Jun 06, 2014 12:09 pm
by trags3
Simon wrote:Hi Tom,
What happens when you scale the window?
iOS Simulator Window > Scale

Simon
Simon, I looked for something like that and just completely missed it.
Thanks so much!
Everything works perfectly.
My next hurdle is actually testing on devices.

Tom

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Mon Jun 30, 2014 7:41 pm
by tfabacher
So my question is....what should be the default size of my stack for iPhone5... 640x1136 or 640x960?

Re: fullScreenMode not working with iPad/iPhone simulator

Posted: Tue Jul 01, 2014 12:19 am
by trags3
tfabacher wrote:So my question is....what should be the default size of my stack for iPhone5... 640x1136 or 640x960?
I'm pretty new at this but I would try to keep the aspect ratio of your stack fairly close to the aspect ratio of your primary target. If that is iPhone 5 I would keep the 640 x 1136.
My target was the LG G2 so I made my stack 400 x 720. It looks real good on the iPhone 5 as both devices have nearly the same aspect ratio.
The iPhone 4s still looks good but does not fill the screen horizontally. I might be abvle to make it look a little better if I used full screen mod rather than letterbox.
It would stretch the horizontal a little but I don't think it would be objectionable in my app anyway.
Hope this helps.
Tom