[TIMOB-1993] iOS: First window is turned by 90 degrees on iPad device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-08T22:45:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, ios, ipad, iphone, orientation, window |
Reporter | Jick Steen |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:07:37.000+0000 |
Updated | 2017-06-08T22:45:13.000+0000 |
Description
Don't know whether it's a similar issue to #1694. In my case, fullsceen is disabled. I've the problem that when starting my iPhone/iPad project on an iPad device (not reproduceable in simulator) - holding the iPad in landscape mode - the app will be displayed turned by 90 degrees. Screenshot is attached. The hardware lock is off but occurs even when enabled.
I'm allowing just portrait orientationModes in each window:
Titanium.UI.currentWindow.orientationModes = [Titanium.UI.PORTRAIT, Titanium.UI.UPSIDE_PORTRAIT];
I'll do this at first within each window, before adding something to the view. It is displayed correctly on the iPhone. It is also displayed correctly when holding the iPad in portrait mode and then starting the app. The really strange is, opening the next window will be displayed great. Even opening the same window later (without closing the app in the meanwhile) works fine (the layout will be displayed correct then). That means it's just the first window.
Afterwards tried to create a simple, reproducable example containing only a tableview and this does always works. Maybe it only occurs when adding some views at first and later a tableview?
I am using Titanium Developer 1.2.1, Mac OS X 10.6.2, Xcode 3.2.4, iPhone SDK 4.1.
Greetz
Attachments
File | Date | Size |
---|---|---|
screenshot-20101004-151802.png | 2011-04-15T03:07:37.000+0000 | 23408 |