I recently ran into an issue while building an app with SwiftUI where I had a
TabView
that contained some views that modified their state in an onAppear
block. I'm still not sure why, but this caused some strange behavior in that
tapping on a tab would immediately return the …