The NavigationSplitView works with List selection, and the NavigationLink must include the label and a value. The new process is explained here
https://developer.apple.com/videos/play/wwdc2022/10054/
Although it works, there is an issue with the view at the moment. If you use an if else or a switch to select the view to show in Detail, it doesn't work. The solution for now is to embed it in a ZStack, as explained in this post
https://developer.apple.com/forums/thread/707924
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: