When I use NavigationSplitView, it shows that it requires iOS16.0 or newer and comes with an error.
And even I add if #available(iOS 16, *) to clear the error, the perview still doesn't come out.
Then after I swapped to NavigationView which is the old one, it says this will soon become unavailable.
I'm confused which one be used exactly.