if #available(iOS 18.0, *) && UIDevice.current.userInterfaceIdiom == .pad {
traitOverrides.horizontalSizeClass = .compact
}
The above code resolved this for me. horizontalSizeClass .compact sets the tab bar to the previous "normal" mode.
Topic:
UI Frameworks
SubTopic:
General
Tags: