I have a problem. My app is a tab bar controller and its first view controller is a split view controller. This seems to be not ok for Apple because documents say a split voew controller must be the root, so perhaps that is the reason of my problems.
The problem is that sometimes, willHideViewController from UISplitViewControllerDelegate is not called, so, for this reason, the upper/left button sometimes is not created, which is anoying. I realised, to reproduce this error, try several times this: -Landscape mode. -Select a tab different to split view controller tap. -Move the iPad to portrait in that tab. -Go to the split view controller tab, and sometimes, willHideViewController is not called so you will not see the upper button. However if I rotate my iPad to landscape and after that to portrait, it's fixed.
I tried to force manually several rotations to work around this problem, but no luck. I still have to try any split view controller clone class from github or similar. Do you have idea what's going on or any work around?
Here I show you two examples working properly.
Thanks a lot for your help.