I've got a View with .onAppear(perform: { print(appear) }) .onDisappear(perform: { print(disappear) }) set on it. In iOS 13.5, when I navigate away from the view via a NavigationLink, it prints disapear; when I close the new view and get back to the first view appear gets printed. All as it should be. Now in iOS 14, this happens instead: when the view is first shown, it prints appear when navigating away from the view, it prints disappear and appear when navigating back to the view, nothing gets printed when navigating away from the view, then appear gets printed, along with the expected disappear ...is this some new super-lazy way of doing things or just plain a bug? It runs havoc with my login, as I set @Binding vars in the second view, which are evaluated back in the first view when .onAppear() runs. Worked great until iOS 14...
36
0
24k