Questions tagged [presentation-mode]
1 questions
0
votes
1 answer
Dismiss a View in SwiftUI when parent is re-rendered
Using iOS14.4, Swift5.3.2, XCode12.2,
I try to dismiss a SwiftUI's GridView (see below code).
The dismiss function is done by the \.presentationMode property of the @Environment as explained here.
Everything works until the moment where I introduced…
![](../../users/profiles/3826232.webp)
iKK
- 4,553
- 5
- 45
- 93