You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2016/10/31 23:53:00 UTC

[jira] [Created] (CB-12098) Update supportedInterfaceOrientations return type

Jesse MacFadyen created CB-12098:
------------------------------------

             Summary: Update supportedInterfaceOrientations return type
                 Key: CB-12098
                 URL: https://issues.apache.org/jira/browse/CB-12098
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.5.0
            Reporter: Jesse MacFadyen
            Assignee: sterling gerritz
            Priority: Minor


All of our uses of supportedInterfaceOrientations should return UIInterfaceOrientationMask in iOS 9+
{code}
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000  
- (NSUInteger)supportedInterfaceOrientations  
#else  
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
#endif
{code}

The full list of references is here:
https://github.com/apache/cordova-ios/search?utf8=%E2%9C%93&q=supportedInterfaceOrientations

A similar fix was just implemented for [CB-11189]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org