Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12098

Update supportedInterfaceOrientations return type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.0
    • None
    • cordova-ios
    • None

    Description

      All of our uses of supportedInterfaceOrientations should return UIInterfaceOrientationMask in iOS 9+

      #if __IPHONE_OS_VERSION_MAX_ALLOWED < 90000  
      - (NSUInteger)supportedInterfaceOrientations  
      #else  
      - (UIInterfaceOrientationMask)supportedInterfaceOrientations
      #endif
      

      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

      Attachments

        Issue Links

          Activity

            People

              sterlingann sterling gerritz
              purplecabbage Jesse MacFadyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: