iPhone Orientation not changing
Hello, I've coded my app and the orientation refuses to change. No matter what. Im running sdk 4.1. I haven't touched the orientation settings. And by default the application should change orientations.
Its really annoying to watch a video when you change the orientation and nothing happens.
Thanks
3 Answers
-
I think it might be related to this ticket
-
If you can post a simple example which demonstrates this behavior, that will be helpful in troubleshooting or getting the info necessary to file a bug report in Lighthouse.
-
You may need to add the windows supported orientation types, then add an event listener "Ti.Gesture.addEventListener('orientationchange', YourFunction);", then in your orientationchange function call "Ti.UI.orientation = Ti.UI.LANDSCAPE_LEFT" or what ever orientation you want.