[SwiftUI] NavigationLink, NavigationView 튕길 때
🍎 iOS/SwiftUI
2024. 11. 2. 01:47
NavigationView와 NavigationLink를 쓰면서 튕기고 이전화면으로 강제로 돌아갈 때,NavigationView { // code}.navigationViewStyle(StackNavigationViewStyle()) 해당 모디파이어 추가 ! 참고 레퍼런스https://stackoverflow.com/questions/66559814/swiftui-navigationlink-pops-out-by-itself SwiftUI NavigationLink pops out by itselfI have a simple use case where a screen pushes another screen using the NavigationLink. There is a strange behavio..