You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/08/20 09:45:20 UTC

[jira] [Created] (CB-11729) template file MainViewController.m has deprecated override shouldAutorotateToInterfaceOrientation

Shazron Abdullah created CB-11729:
-------------------------------------

             Summary: template file MainViewController.m has deprecated override shouldAutorotateToInterfaceOrientation
                 Key: CB-11729
                 URL: https://issues.apache.org/jira/browse/CB-11729
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
            Reporter: Shazron Abdullah


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




--
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