[TIMOB-7855] iOS: Ti.Gesture.landscape and Ti.Gesture.portrait are undefined
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-11-09T05:57:16.000+0000 |
Affected Version/s | Release 1.8.2 |
Fix Version/s | Release 6.1.0 |
Components | n/a |
Labels | parity |
Reporter | Carl Orthlieb |
Assignee | Hans Knöchel |
Created | 2012-02-29T18:27:29.000+0000 |
Updated | 2016-11-23T18:48:36.000+0000 |
Description
1. Unpack the attached application and run it on Android. Note that as you rotate the view, the Ti.Gesture.landscape and Ti.Gesture.portrait properties change.
2. Run the same application on iOS.
EXPECTED RESULT: same values for landscape and portrait as Android.
ACTUAL RESULT: both values are "undefined" no matter the device orientation.
NB: if this was previously working in prior versions this could break existing applications if they are recompiled with 1.8.2.
Attachments
PR: https://github.com/appcelerator/titanium_mobile/pull/8575 Unit-Test: https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/10
Verified Fixed, was able to view the changes to
Ti.Gesture.landscape
andTi.Gesture.portrait
and IOS no longer stated "undefined" when the device was rotated; tested on both a Android and IOS Device. *Environement*