Posts

Post not yet marked as solved
0 Replies
667 Views
A simple piece of SwiftUI code tries to set a navigation stack onto an image ZStack background. As observed the frame size of the navigation stack sets the size of the destination view screen. This is counterproductive. If you leave the navigation stack at .inifinity values, the destination will show up full size. If you reduce the navigation stack height to 200, you get a cut of 200 of the destination view. Is there anybody who knows how to navigate to a next view without harm? By the way the SwiftUI 4: Navigation Stacks (WWDC 2022) – iOS presents the same problem. Very curious of your experiences and perhaps solutions Brigitte I add my piece of code and an image of the navigation stack and its clipping of the destination view. The piece of code with navigation stack
Posted Last updated
.