Xcode – SwiftUI: Understanding .sheet / .fullScreenCover lifecycle when using constant vs @Binding initializers
I'm trying to understand how and when the .sheet and .fullScreenCover initializers are called. Below is a minimal reproducible example, where the first screen has 3 colored rectangles and the SecondView (shown via .fullScreenCover) has 1 rectangle that changes color…