Hi friends, I'm not getting it! Not sure if this is my fault or the simulators? 8-)
OS X 10.10, LC 6.7, Xcode 6.1 I have a stack 320*480 px with only one card with one field and this script of cd 1: .......................................................................................................... on orientationchanged set the rect of fld "Testfield" to the rect of this cd put CR & CR & mobileDeviceOrientation() into fld "Testfeld" end orientationchanged on resizestack set the rect of fld "Testfeld" to the rect of this cd put CR & CR & mobileDeviceOrientation() into fld "Testfeld" end resizestack on preopenStack set the fullscreenmode of this stack to EMPTY ## Don't care yet! ## Do I have to? end preopenStack .......................................................................................................... It starts nice in PORTRAIT mode in iPhone and iPad simulator but when I select "rotate left/right" in the simulator menu I see what I exspect ONLY in the iPad simulator, means the display of the stack rotates! And I see the correct orientation in the field. But nothing happens in the iPhone simualtor, no "orientationchanged" gets fired, LC does not rotate and even the simulator itself actually doesn't!? Anyone seen this? Is the simulator still a bit buggy? It's me, right? Do I have to make any other setting to make this work for iPhone, too? I just want to create layouts for both orientations for iPhone and iPad in my app and this is just a simple test stack, no deeper meaning, just another newbie on mobile development :-) Any insights welcome, thanks a lot! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode