[TIMOB-1201] orientationModes window property ignored
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T02:46:30.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | iOS |
| Labels | iphone, orientation, window |
| Reporter | Dan Giulvezan |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T02:46:29.000+0000 |
| Updated | 2017-03-02T19:22:51.000+0000 |
Description
Using the orientationModes property when creating a window is ignored in SDK 1.3.2 but works okay in previous SDK versions.
I'm surprised to see this moved to 1.5.0 when the documentation says it's already supported (http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window-object)">http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI..... Again, it worked fine prior to 1.3.2 when an SDK change broke it.
The following works for me:
Remember, orientation modes are always passed as an array.
Closed as invalid.