Replace deprecated NavigationView for iPhone and iPad Layout
I’m currently using NavigationView
to layout my App for iPhone and iPad depending on the horizontalSizeClass
. Since the functions I’m using for NavigationView
and NavigationLink
are deprecated I wonder if one can achieve something similar with the latest APIs.
Here is the simplified version.