iOS app simulation rotated?

Graham Samuel livfoss at mac.com
Fri May 31 05:32:47 EDT 2013


Thanks Randy - I hadn't thought of this. Tried it just now and sadly it doesn't work. The simulation used to work, even without this line of script (maybe with another simulator, since I haven't worked on this one for quite a time). There must be another reason. Thanks anyway. I noted by the way in the Dictionary that it says

> The setting take affect the next time an orientation change is applied. The  interface orientation only changes if the new orientation is among the configured list.

I am not aware of ever setting the orientation (and I don't know what 'the configured list' refers to), since I don't allow for portrait at all - I expect the app to open in Landscape and stay there. BTW I also tried using just one option, "landscape left" but the result was the same. Must be something in my code. I will now build some very simple test apps to see what happens.

Graham 

On 31 May 2013, at 02:21, Randy Hengst wrote:

> Graham,
> 
> Do you have this handler in the stack script?
> 
> on startUp
>   iphoneSetAllowedOrientations "landscape left,landscape right"
> end startUp
> 
> be well,
> randy
> -----
> On May 30, 2013, at 4:48 PM, Graham Samuel wrote:
> 
>> I've been testing an iOS app intended only for iPad landscape, using Simulator 6.1 as the test target. I must have made a change in the setup, but I don't know what, and now when I try to test from the IDE, I get the simulation showing up as landscape with my splash screen correctly positioned, then suddenly the splash screen is rotated through 90 degrees, meaning that some of it (the original right hand side) is now invisible. When the app proper starts, it is also shown rotated with the right hand side cut off. If I use the 'Rotate' menu in the simulator, all I get is a portrait screen with the same cut-offs.
>> 
>> In my Standalone Settings, I have only enabled iPad Landscape options.
>> 
>> The thing looks fine on the desktop - can anyone suggest what I did wrong?
>> 
>> TIA
>> 
>> Graham
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list