Page 1 of 1
iOS images
Posted: Thu Oct 04, 2012 3:04 am
by anmldr
I want to create an iOS app for all devices...older ones without the retina display and those with it. Let's say I create just an iPad version. In XCode, I would supply an image for each display with a naming convention of adding "@2x" to the name of the file. Then the proper image is supplied to the device automatically.
How do we handle this with LiveCode?
Linda
Re: iOS images
Posted: Thu Oct 04, 2012 6:44 am
by gpb01
Hi Linda,
you have to ... manually manage
First, on your "preOpenStack" use the "iphoneUseDeviceResolution true, true" (
... see the dictionary), next, with the "iphoneDeviceScale()" you can know if is a "standard" resolution (is 1) or a "retina" resolution (is 2) device and next ... once you know the device resolution, you can select the correct image to show
Guglielmo
Re: iOS images
Posted: Thu Oct 04, 2012 9:11 am
by Klaus
As we all should know by now, we have a special iOS forum!
Will move this thread...