Mutltiple UISplitviewControllers in TabBar not all notified of rotation events

I have a tabBar application containing 3 UISplitiViewControllers. Everything works well, except for one scenario:

I have an ipad in landscape position on tab1. I click on tab3, then rotate the ipad portrait mode. I click on tab1, it displays well in portrait mode, I'm happy.

Now I am returning to the landscape position.

I click on tab3 again and there the splitView controller is still displayed in "portrait mode". the delegate of my splitviewController in tab3 has never been called.

Is there a way to make this splitViewController rotate to "viewWillAppear"?

+3
source share
2

, , splitViews... , apis.

, splitView ​​ Apple, splitView, .

0

, git.

UISplitViewController, .

this , .

, .

BTW .

+4

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


All Articles