Post

Replies

Boosts

Views

Activity

SwiftUI back button broken
When I start a View, and inmediatily after I execute a NavigationLink programmatically,The back button stop working.It also overlaps with the view title.I fixed that "overlap", but the back button is still not working.For more details:- In app delegate I´m using FCM for push notifications. There I have my EnviromentObject that "controls" the app.- When a notification is clicked, the apps shows the "Home" view.- When a notification with a specific category is clicked. Then it shows the "Home" view, and inmediatly executes a navigationlink to the View where that kind of notifications are seen.- There the back button is broken. But just when the push notification is clicked while you are outside the "Home" view.Tested on iOS 13.4.1 and Xcode Version 11.4.1
3
0
1.5k
Apr ’20