In my current app the clients wants the vast majority of the app to only support Portrait mode, but on one of the view controllers he wants it to support either Portrait or Landscape. I'm struggling to figure out how to make that happen. Even if I return portrait only from soething like supportedInterfaceOrientations it's still allowing those view controllers to display in landscape mode.
I implemented both supportedInterfaceOrientations and shouldAutorotate, and I also added an extension to UINavigationController so that its shouldAutorotate calls the visible view controller's method.