Relative Content

Tag Archive for iosswiftuiswiftdataipados

SwiftData deletions not triggering a View update in SplitNavigationView – iPad

On an iPad, the leftmost pane (Sidebar) of a SplitNavigationView has a toolbar button that displays a sheet. This sheet can load or delete all SwiftData objects. These objects are listed in the second pane (Content). Hitting the load button creates some new sample data and displays it no problem. However hitting the delete button appears to have no effect and doesn’t trigger a view update.