How to override control panel more controller?

I have a very annoying problem with the UITabBarController "bigger" tab controller. It by default supports rotation in landscape mode, but does not pass it to subviews (or view controllers that are controlled by it), calling the appropriate delegate methods, so all the controllers in the "more" section can be rotated, and this is not what I want - I only one of them is needed to support autorotation.

The problem is that I cannot find a way to override and use a custom class for a larger tab control.

Does anyone know how to override the extra tab controller or make it somehow invoke the delegation method on subviews?

thanks for any advice

+3
source share
1 answer

Since more than a controller is a private class, there is no public SDK method for it. The easiest way to solve this problem is to reinstall the controller more manually (it's just very simple UITableViewController)

0
source

Source: https://habr.com/ru/post/1718258/


All Articles