SwiftUI and PopToRootController Workaround
I’m thoroughly enjoying using SwiftUI. But like any new API, there are limitations that can at times be maddening. One issue I ran into while developing the UI for logging custom and favorite items in my RECaf watch app was the lack of any way in SwiftUI to pop back to the root of the navigation stack. Here’s my scenario: You start with a list, showing items for Custom Entry and Favorites. Tap Favorites, and you are pushed to a list of your favorites. Tap one of the…