I have a View that has some VStacks and ZStacks (top bar, carousel, detail view with if condition).
This code changes fullscreen/not fullscreen appearance:
.edgesIgnoringSafeArea(viewModel.currentItem != nil ? .all : [])
But even without .all activated I have a strange bottom Home bar appearance like there is a gradient/shadow overlay on it:
What could cause this and how to avoid this?
P.S. I also noticed in my UI hierarchy that HostingViewController is a subview of the UIDropShadowView.
P.P.S. It also doesn't go when navigation to other view with NavigationLink