Livecode for Retina Display

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
granata
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9
Joined: Fri Oct 15, 2010 12:27 am

Livecode for Retina Display

Post by granata » Sat Dec 04, 2010 4:55 am

This seems like a pretty basic question and the fact that it has not been brought up here before makes me think that I may have overlooked something obvious.

If I'm using Livecode to develop an iPhone App for the iPhone 4 as well as non-Retina iPhones and iPods, what dimensions should my stack be? Do I need to somehow tell the stack to load UI images for the smaller and larger displays (replicating the iOS SDKs @2x.png model)?
On Twitter: @granata

kevinmiller
Livecode Staff Member
Livecode Staff Member
Posts: 122
Joined: Thu Feb 23, 2006 7:57 pm

Re: Livecode for Retina Display

Post by kevinmiller » Mon Dec 06, 2010 10:00 pm

There's a section in the iOS Release Notes about this - talks about 'device resolution'. http://www.runrev.com/downloads/livecod ... -4_5_2.pdf

You do have to do the resizing yourself at the moment, setting images as appropriate. To turn 1-1 pixel mapping use the 'iphoneUseDeviceResolution' command.
Kevin Miller ~ kevin@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

Post Reply

Return to “iOS Deployment”