I've avoided the multiple resolutions for iOS apps, and primarily focused in iPads. But now with 3 different sizes, or you will 5 different sizes with the iPhone5, I need to create an app with Multi-stacks for each resolution. My design for this spanish app is to have a stack for the resolution for iphone/ipod, the iPad, and the new iphone 5 resolution.
But am having difficulty in creating the opening stack that will look at the resolution ...iphoneDeviceResolution()...and then open the appropriate stack for the device.
Can anyone post the script or the stack that will open up the appropriate stack for the appropriate resolution.
Also Is it to imbed as a substack under stacks properties or to copy files under the standalone settings?
Scott
Multiple Resolutions....help! again
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Multiple Resolutions....help! again
Hi Scott,
:
I would use substacks so I will only have ONE file for the standalone.
MOST IMPORTANT:
Put all the logics (scripts) into the mainstack to avoid redundancy!
Best
Klaus
create a stack and put this into its stack script, it just checks the resolution and acts accordinglyscotttyang wrote:But am having difficulty in creating the opening stack that will look at the resolution ...iphoneDeviceResolution()...and then open the appropriate stack for the device.
Can anyone post the script or the stack that will open up the appropriate stack for the appropriate resolution.

Code: Select all
on preopenstack
switch iPhoneDeviceResolution()
case "320,480" ## iPhome/iPod Touch NON retina
go stack "the one that fits iphone non retina"
break
case "640,960" ## retina iphone
go stack "retina stuff iphone"
break
case "1024,768" # iPad NON retina
go stack "ipad non retina"
break
case "2048,1536"
go stack "iPad retina"
break
case "6000,4000"
answer "You must be kidding!"
break
end switch
end preopenstack
That's a matter of personal tastescotttyang wrote:Also Is it to imbed as a substack under stacks properties or to copy files under the standalone settings?

I would use substacks so I will only have ONE file for the standalone.
MOST IMPORTANT:
Put all the logics (scripts) into the mainstack to avoid redundancy!

Best
Klaus
Re: Multiple Resolutions....help! again
Hi Scott,
Yes, I'm also use only one stack with substacks.
Just curiosity. "My design for this spanish app". What kind of app are you designing?
If you need help for spanish translations I can help you
Salut,
Josep M
Yes, I'm also use only one stack with substacks.
Just curiosity. "My design for this spanish app". What kind of app are you designing?
If you need help for spanish translations I can help you

Salut,
Josep M