fullScreenMode not working with iPad/iPhone simulator

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

fullScreenMode not working with iPad/iPhone simulator

Post by trags3 » Mon Jun 02, 2014 4:49 pm

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

trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Re: fullScreenMode not working with iPad/iPhone simulator

Post by trags3 » Tue Jun 03, 2014 3:54 am

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: fullScreenMode not working with iPad/iPhone simulator

Post by jacque » Tue Jun 03, 2014 7:07 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Re: fullScreenMode not working with iPad/iPhone simulator

Post by trags3 » Fri Jun 06, 2014 1:52 am

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

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: fullScreenMode not working with iPad/iPhone simulator

Post by Simon » Fri Jun 06, 2014 2:14 am

Hi Tom,
What happens when you scale the window?
iOS Simulator Window > Scale

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Re: fullScreenMode not working with iPad/iPhone simulator

Post by trags3 » Fri Jun 06, 2014 12:09 pm

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

tfabacher
Posts: 15
Joined: Mon Mar 03, 2014 8:31 pm

Re: fullScreenMode not working with iPad/iPhone simulator

Post by tfabacher » Mon Jun 30, 2014 7:41 pm

So my question is....what should be the default size of my stack for iPhone5... 640x1136 or 640x960?

trags3
Posts: 432
Joined: Wed Apr 09, 2014 1:58 am

Re: fullScreenMode not working with iPad/iPhone simulator

Post by trags3 » Tue Jul 01, 2014 12:19 am

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

Post Reply