Anyone facing this issue as with the new version of Xcode am encountering this. How to resolved this.
init(destination:isActive:label:) was deprecated in ios16
Well, two things:
- A deprecation means it will be removed in a future version of iOS. You can still use it now and ignore that warning; or
- Implement the new method instead. Use the information here: https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types