NavigationView at the Top of a Hierarchy Containing a TabView Does Not Work Properly With Toolbars

Number:rdar://FB9727010 Date Originated:10/28/21
Status:Open Resolved:
Product:Xcode Product Version:11 - 13
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
This appears to be an issue with all versions of SwiftUI. If you place a NavigationView at the top of a hierarchy, and then in that hierarchy you place a TabView, ToolBars will not display in the views in the TabViews. The workaround is to place the NavigationViews in each uppermost view under the TabView and treat each as its own separate hierarchy. A demonstration program is attached.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!