Page 1 of 1

Ipad simulate - withouth scaling

Posted: Sun Jan 16, 2011 4:16 am
by Timshark
Bonjour

Believe it or not but I'm developing only for the Ipad and I'm a totally noobie at ios development...

How do I simulate an Ipad without the upscale (2x), but with the ipad resolution?

do i need to check wich platform i'm on and then have a function that rescales the app? any examples would be great.

T

Re: Ipad simulate - withouth scaling

Posted: Mon Jan 17, 2011 2:58 am
by ctflatt
Timshark:

I, too, am primarily developing for the iPad. Here is what I can offer:

Create your stacks at 768x1024 (portrait) or 1024x768 (landscape).

From the Livecode Development menu, set the Simulator version to iPad, and the iOS version you wish to target.

Is this what you were looking for?

:Todd

Re: Ipad simulate - withouth scaling

Posted: Tue Jan 18, 2011 4:48 am
by Timshark
Thank you, Todd.

I did some searching and found out that you also have to select the ipad in the menu for supported devices in the standalone application settings - instead of "ipad, iphone and ipad" or else it will be a upscaled iphone app on the ipad.

One other thing to remember (for other noobs like me) is that if you want to keep the ipad status bar in your app, you should work with a height of 1004 instead of 1024 since the status bar is 20 pixels high.

There is an excellent stack on revonline called "mobile template for iphone ipad android" by Fabrice Muller. Great help.

The only thing is that the ipad don´t show the full 768 width. there is about 5 pixels on the left not showing up. I wonder why? anyone?

Tim

Re: Ipad simulate - withouth scaling

Posted: Thu Jan 20, 2011 10:14 pm
by murmac
Tim,

I´m very noob in LiveCode and iOS development. How can you visualize the entire form? 1004 pixels passes the screen and I can´t zoom out.

Thanks,
Murilo

Re: Ipad simulate - withouth scaling

Posted: Thu Jan 20, 2011 10:29 pm
by hliljegren
murmac wrote:Tim,

I´m very noob in LiveCode and iOS development. How can you visualize the entire form? 1004 pixels passes the screen and I can´t zoom out.

Thanks,
Murilo
Get a bigger screen maybe ;)

You can always set the location of the stack to "scroll" your stack up and down. Even outside the screen, so you can at least see part of the screen. It will not be a good solution in the long run though. What are you developing on?

:-Håkan

Re: Ipad simulate - withouth scaling

Posted: Fri Apr 29, 2011 9:50 am
by Piermatteo
Timshark wrote:Thank you, Todd.

I did some searching and found out that you also have to select the ipad in the menu for supported devices in the standalone application settings - instead of "ipad, iphone and ipad" or else it will be a upscaled iphone app on the ipad.

One other thing to remember (for other noobs like me) is that if you want to keep the ipad status bar in your app, you should work with a height of 1004 instead of 1024 since the status bar is 20 pixels high.

There is an excellent stack on revonline called "mobile template for iphone ipad android" by Fabrice Muller. Great help.

The only thing is that the ipad don´t show the full 768 width. there is about 5 pixels on the left not showing up. I wonder why? anyone?

Tim
I´m very noob in LiveCode and iOS development. How can you visualize the entire form? 1004 pixels passes the screen and I can´t zoom out.