[TIMOB-10747] TiAPI: Ti.Gesture is for user input via hardware, not for the software response
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.2 |
Fix Version/s | n/a |
Components | TiAPI |
Labels | api |
Reporter | Ingo Muschenetz |
Assignee | Unknown |
Created | 2012-09-04T12:27:09.000+0000 |
Updated | 2018-02-28T20:03:53.000+0000 |
Description
On iOS, Ti.Gesture.Orientation maps to -[UIDevice orientation], which is the orientation of the hardware, not the navbar nor window. This serves as an input and suggestion taken along with Ti.UI.Window.orientationModes to rotate the UI, but itself is neither sufficient nor necessary to know the UI's orientation.
When people conflate the device and UI's orientation (admittedly, they ARE the same on Android), confusion reigns.
No comments