Open onmyway133 opened 2 years ago
I have been looking forever for a solution and so glad I found this. So sad to see that isActive: $...
is being deprecated in iOS 16.0. Any solutions that work with iOS16.0?
Full warning:
'init(destination:isActive:label:)' was deprecated in iOS 16.0: use NavigationLink(value:label:) inside a NavigationStack or NavigationSplitView
@dharaspatel You can also apply buttonStyle directly onto NavigationLink
Use
isActive
bindingWe can also apply
buttonStyle
ontoNavigationLink