Deep_Dev

 

 

 

NavigationView와 NavigationLink를 쓰면서 튕기고 이전화면으로 강제로 돌아갈 때,

NavigationView {
	// code
}
.navigationViewStyle(StackNavigationViewStyle())

 

해당 모디파이어 추가 ! 

 

 

 

 

참고 레퍼런스

https://stackoverflow.com/questions/66559814/swiftui-navigationlink-pops-out-by-itself

 

SwiftUI NavigationLink pops out by itself

I have a simple use case where a screen pushes another screen using the NavigationLink. There is a strange behaviour iOS 14.5 beta (1, 2, 3), where the pushed screen is popped just after being push...

stackoverflow.com