LiveCode Native Controls and iOS
Posted: Wed May 29, 2013 5:27 am
Hello Everyone,
I have been plugging along quite well developing an app using LiveCode for both the iOS and Android platforms, thanks to all of the helpful posts and information on these forums. I have a question specific to iOS and LiveCode native controls, as well as a little about stacks/sub-stacks and cards..... and different sizes (x,y) of a card on a sub-stack.
I have already used some native mobile controls in my app primarily for a replacement of the LiveCode "option menu" button. Using the mobilepick native control, my menu options work perfectly in both iOS and Android. Anyone using this on iOS would be familiar with the very slick, clean look of the iOS callout box/list that pops up allowing you to select an option from the menu.
My question is this: Is there any native control in LiveCode to create an iOS callout box? Google image search showing an example of an iOS callout: tinyurl . com/paq3arr or preview . tinyurl . com/paq3arr
The main result I'm looking for is the ability to load/pop-up a small card over top of the active card and present new controls/functions of the app. This way I can keep 99% of the app functionality on a single "card". If LiveCode doesn't support these types of callouts under iOS, would this be possible as a work around instead:
Add a sub-stack to the app and set a much smaller size (x,y) for the sub-stack (and therefore the cards within it). Then, via a button/user action, load a card from the sub-stack and have it appear above the current card, without it replacing that card and taking up the entire screen of the mobile device?
Here is a good example pic of what I would like to do: i . stack . imgur . com/gF1Bc.jpg
No, I'm not making a map app, but that example pic shows a callout containing a title header, graphic, multiple text fields and even a few buttons. That's the functionality I'm looking for.
So is that possible to achieve in LiveCode? Or do I have to look at something like Xcode or Adobe Flash Build/Flex?
Greatly appreciate any answers, advice or ideas,
Thank you,
Ian
I have been plugging along quite well developing an app using LiveCode for both the iOS and Android platforms, thanks to all of the helpful posts and information on these forums. I have a question specific to iOS and LiveCode native controls, as well as a little about stacks/sub-stacks and cards..... and different sizes (x,y) of a card on a sub-stack.
I have already used some native mobile controls in my app primarily for a replacement of the LiveCode "option menu" button. Using the mobilepick native control, my menu options work perfectly in both iOS and Android. Anyone using this on iOS would be familiar with the very slick, clean look of the iOS callout box/list that pops up allowing you to select an option from the menu.
My question is this: Is there any native control in LiveCode to create an iOS callout box? Google image search showing an example of an iOS callout: tinyurl . com/paq3arr or preview . tinyurl . com/paq3arr
The main result I'm looking for is the ability to load/pop-up a small card over top of the active card and present new controls/functions of the app. This way I can keep 99% of the app functionality on a single "card". If LiveCode doesn't support these types of callouts under iOS, would this be possible as a work around instead:
Add a sub-stack to the app and set a much smaller size (x,y) for the sub-stack (and therefore the cards within it). Then, via a button/user action, load a card from the sub-stack and have it appear above the current card, without it replacing that card and taking up the entire screen of the mobile device?
Here is a good example pic of what I would like to do: i . stack . imgur . com/gF1Bc.jpg
No, I'm not making a map app, but that example pic shows a callout containing a title header, graphic, multiple text fields and even a few buttons. That's the functionality I'm looking for.
So is that possible to achieve in LiveCode? Or do I have to look at something like Xcode or Adobe Flash Build/Flex?
Greatly appreciate any answers, advice or ideas,
Thank you,
Ian