Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18434] IOS: Allow to Rotate the iOS application's Orientation on demand

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2015-05-07T02:46:34.000+0000
Affected Version/sRelease 3.4.1, Release 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsorientation, rotate
ReporterShuo Liang
AssigneeIngo Muschenetz
Created2015-01-23T08:13:19.000+0000
Updated2017-03-24T17:55:15.000+0000

Description

IOS: Allow to Rotate the iOS application's Orientation on demand Bed Bath & Beyond would like to have a feature that calling any SDK API will trigger the rotating Orientation, not just triggered by rotating the actual device. For example, on the native level we would override the device orientation like this:
NSNumber *value = [NSNumber numberWithInt:UIInterfaceOrientationLandscapeLeft]; 
[[UIDevice currentDevice] setValue:value forKey:@"orientation"]; 

Comments

  1. Chee Kiat Ng 2015-05-07

    Sorry this is considered as forcing an orientation mode, which we consider as bad practice. http://docs.appcelerator.com/titanium/release-notes/?version=3.4.0.GA#changes
  2. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source