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

template file MainViewController.m has deprecated override shouldAutorotateToInterfaceOrientation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      shouldAutorotateToInterfaceOrientation has been deprecated since iOS 6, and is never called anymore.

      The new function is should be shouldAutoRotate. Use any of the three here as overrides: https://github.com/apache/cordova-ios/blob/f75bf67438257132e739238ed579d73271b3a716/CordovaLib/Classes/Public/CDVScreenOrientationDelegate.h

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                shazron Shazron Abdullah
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: