16 Replies
      Latest reply on Dec 2, 2019 6:30 PM by RamiroDiaz
      RamiroDiaz Level 1 Level 1 (0 points)

        According to the documentation ("Interface Behaviors" section), if we need to support different orientations for the controllers in a navigation view, we should use "navigationControllerSupportedInterfaceOrientations" via delegation. Thus, we would be able to return the preferred orientation of each of the controllers by overriding, for example, preferredInterfaceOrientationForPresentation.

         

        My problem is that this method never gets called. Any thoughts?

         

        Context: I have a navigation controller with 2 controllers: A and B. A is portrait and B is landscape. When I push B from A, I need the screen to rotates automatically to landscape.