Hi team, I found another werid issue in iPad OS 26 only. I can easily reproduce it with a simple example app even in iPadOS 26 RC. I've submitted a feedback FB20215332, could you have a look? Thanks!
We have a UITabBarController
which contains two tabs.
- The first tab is a
UINavigationController
which includes ViewControllerA and ViewControllerB - The second tab is just a simple
UIViewController
ViewControllerC
We set the self.traitOverrides.horizontalSizeClass = .compact
in TabBarController because we don't want to show the new style of tab bar.
We set the hidesBottomBarWhenPushed
to true for ViewControllerB when pusing from ViewControllerA because we don't want the tab bar to show in the navigation flow. Also, there is a button in ViewControllerB and it can navigate to ViewControllerC. However, when we tap the button in ViewControllerB, it did navigate to ViewControllerC but the TabBar is missing and at this point we have to kill the app, otherwise we cannot do anything.
As I mentioned above, this issue only happens on iPadOS 26.0. In iOS, it works properly. In iOS and iPadOS 18, it works fine as well. Also, if this flow is built by SwiftUI, then there is no issue on both iOS and iPadOS 26.