When displayed in contexts without a bottom safe area, the dismiss button hugs the bottom edge of the view:
I had a quick muck around and SwiftUI doesn't appear to be great with this. I think the solution will be pulling that button out of a ToolbarItem and placing it in a VStack below the tab view, then applying a conditional bit of spacing underneath.
When displayed in contexts without a bottom safe area, the dismiss button hugs the bottom edge of the view:
I had a quick muck around and SwiftUI doesn't appear to be great with this. I think the solution will be pulling that button out of a
ToolbarItem
and placing it in aVStack
below the tab view, then applying a conditional bit of spacing underneath.Let me know if you want me to do this.