[TIMOB-18434] IOS: Allow to Rotate the iOS application's Orientation on demand
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2015-05-07T02:46:34.000+0000 |
Affected Version/s | Release 3.4.1, Release 3.5.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | orientation, rotate |
Reporter | Shuo Liang |
Assignee | Ingo Muschenetz |
Created | 2015-01-23T08:13:19.000+0000 |
Updated | 2017-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"];
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
Closing ticket as invalid with reference to the above comments.