Strange... In my project, NavigationLink is not working too. It says extra argument in call. Here is my code:
NavigationLink
{
Text("Sign up")
} label: {
HStack {
Text("Don't have an account?")
Text("Sign Up")
.fontWeight (.semibold)
}
.font(.footnote)
}
.padding(.vertical, 16)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: