Ipad simulate - withouth scaling

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Timshark
Posts: 8
Joined: Mon Apr 17, 2006 9:38 pm

Ipad simulate - withouth scaling

Post by Timshark » Sun Jan 16, 2011 4:16 am

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
Last edited by Timshark on Tue Jan 18, 2011 4:53 am, edited 1 time in total.

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Re: Ipad simulate - withouth scaling

Post by ctflatt » Mon Jan 17, 2011 2:58 am

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

Timshark
Posts: 8
Joined: Mon Apr 17, 2006 9:38 pm

Re: Ipad simulate - withouth scaling

Post by Timshark » Tue Jan 18, 2011 4:48 am

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

murmac
Posts: 4
Joined: Tue Jan 11, 2011 4:04 pm

Re: Ipad simulate - withouth scaling

Post by murmac » Thu Jan 20, 2011 10:14 pm

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

hliljegren
Posts: 111
Joined: Sun Aug 23, 2009 7:48 am
Contact:

Re: Ipad simulate - withouth scaling

Post by hliljegren » Thu Jan 20, 2011 10:29 pm

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
___________________________________
MacBook Pro M1 MAX 64 Gb,
LiveCode 10.0.1rc3

Piermatteo
Posts: 1
Joined: Fri Apr 29, 2011 7:25 am

Re: Ipad simulate - withouth scaling

Post by Piermatteo » Fri Apr 29, 2011 9:50 am

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.

Post Reply