[TIMOB-2458] iPad Orientation Bug on start
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-10-27T15:17:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-36, Release 1.8.0 |
Components | iOS |
Labels | ipad, module_orientation, orientation, qe-testadded |
Reporter | Adriano Paladini |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:20:18.000+0000 |
Updated | 2013-08-30T09:11:56.000+0000 |
Description
Hi, everbody
I have a serious problem in iPad orientation.
This error ocurred in 1.4.3 and 1.5.0 (11/29/2010).
My app has this code:
var win = Ti.UI.createWindow({
backgroundImage: 'img/bkg.png',
orientationModes: [Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT, Ti.UI.LANDSCAPE_RIGHT, Ti.UI.LANDSCAPE_LEFT]
});
and in tiapp.xml:
<orientations device="ipad">
<orientation>Ti.UI.PORTRAIT</orientation>
<orientation>Ti.UI.UPSIDE_PORTRAIT</orientation>
<orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
<orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
</orientations>
My app start normal in Portrait, and rotate normal, but if i put iPad on Landscape before, and open my app, it show a landscape splash and switch to a portrait window in landscape mode.
Creating a window that is cut down and with black border the side.
Sorry for my poor english, i'm Brazilian.
Attachments
File | Date | Size |
---|---|---|
OrientationTest.zip | 2011-09-06T17:06:01.000+0000 | 1581804 |
photo 1.PNG | 2011-06-02T14:04:28.000+0000 | 25196 |
photo 2.PNG | 2011-06-02T14:04:28.000+0000 | 25179 |