SwiftUI feature request: hidesBottomBarWhenPushed

Number:rdar://FB9094380 Date Originated:2 May 2021
Status:Open Resolved:
Product:SwiftUI Product Version:
Classification: Reproducible:
An equivalent of `UIViewController.hidesBottomBarWhenPushed` is missing in SwiftUI. The current workaround is to wrap the TabView in a top-level NavigationView responsible for all navigation, which goes against the principles of Master-Detail navigation and I've found causes strange race conditions in complex apps handling a significant amount of state.

I believe a modifier that bridges the original `UIViewController.hidesBottomBarWhenPushed` property onto the SwiftUI View it's applied to would solve the issue gracefully.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!