Post

Replies

Boosts

Views

Activity

New dismiss @Environment variable, presentationMode in Beta 2
Is it possible that this new dismiss action (and also the older presentationMode.wrappedValue.dismiss() ) are broken in beta 2? It works as long as you navigate just one level deep. But if say you navigate into a detail view A and from there in another detail view B and there you have a button which calls dismiss, the navigation gets totally confused and also logs an error "Unbalanced calls to begin/end appearance transitions for..." Or am I doing something wrong? I tried it in a really simple test project and I can't get it to work properly.
2
0
1.2k
Jun ’21