Post

Replies

Boosts

Views

Activity

Reply to Combining NavigationSplitView and TabView in iOS 18
I encountered the same white bar above the status bar when nesting NavigationSplitView inside TabView(.sidebarAdaptable) (still reproducible on iPadOS 27). Applying .ignoresSafeArea(edges: .top) directly to the NavigationSplitView completely fixed it without breaking insets or toolbar items on either iPad or iPhone: NavigationSplitView { SidebarView() } detail: { DetailView() } .ignoresSafeArea(edges: .top)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’26
Reply to Combining NavigationSplitView and TabView in iOS 18
I encountered the same white bar above the status bar when nesting NavigationSplitView inside TabView(.sidebarAdaptable) (still reproducible on iPadOS 27). Applying .ignoresSafeArea(edges: .top) directly to the NavigationSplitView completely fixed it without breaking insets or toolbar items on either iPad or iPhone: NavigationSplitView { SidebarView() } detail: { DetailView() } .ignoresSafeArea(edges: .top)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’26