Post

Replies

Boosts

Views

Activity

Reply to SwiftUI NavigationLink not working when I add @Environment(\.dismiss) to my view
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:
Replies
Boosts
Views
Activity
Jun ’23