diff --git a/lib/ios/RNNBottomTabsController.m b/lib/ios/RNNBottomTabsController.m index d91005d94b..ffa3baf58c 100644 --- a/lib/ios/RNNBottomTabsController.m +++ b/lib/ios/RNNBottomTabsController.m @@ -81,6 +81,14 @@ - (void)viewWillAppear:(BOOL)animated { - (void)viewDidLoad { [super viewDidLoad]; + + if (@available(iOS 18, *)) + { + if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) + { + self.traitOverrides.horizontalSizeClass = UIUserInterfaceSizeClassUnspecified; + } + } } - (void)createTabBarItems:(NSArray *)childViewControllers {