Hello!
I’m a newbie here to Corona development, and I appreciate the usage of a scripting language to build and test quickly!
So, here’s my question:
I’m currently building an application that includes a slideshow (via the wonderful “slideView” script provided on the website).
I was wondering how scaling the content would work in Corona depending upon the current device orientation?
At first, I thought I would just build a separate module for each orientation (similar to building different nibs in XCode, for native iOS development), but then I saw the “system.orientation” command.
Is this command executed during runtime? So, for instance, if somebody is viewing the slideshow in landscapeRight mode, then changes to “portrait”, a line containing the “system.orientation” code (in the currently running lua script) will fire?
I’d appreciate any assistance you could offer. Thank you very much! [import]uid: 10211 topic_id: 17082 reply_id: 317082[/import]
[import]uid: 52491 topic_id: 17082 reply_id: 64211[/import]
[import]uid: 10211 topic_id: 17082 reply_id: 64750[/import]