Chapter 12 - Navigation Bar button bug SwiftUI

Chapter 12 describes a SwiftUI bug with the Navigation Bar Button. I was wondering if there is a method in SwiftUI that we could call to refresh/reload the scene of ChecklistView after NewChecklistItemView closed itself by adding the new item. Would that get rid of the bug? Is it a feature missing from SwiftUI?

Thank you.

I found solution here: swift - SwiftUI - Navigation bar button not clickable after sheet has been presented - Stack Overflow

1 Like

Fantastic!!! good thinking

@k1r1k4el Thank you for sharing this - much appreciated!

This topic was automatically closed after 166 days. New replies are no longer allowed.