In the new version of iOS and Xcode
NavigationLink(isActive: , destination: , label: )
is deprecated.
How do we control the status of NavigationLink then?
Use new NavigationLink(value:label:)
as specified. By putting corresponding value into NavigationPath
you activate a link.
See more for example in this topic