How can I change the navigation button in form.
Section {
NavigationLink(
destination: SignUpView(),
label: {
Text("Don't have an account?")
.foregroundColor(.gray)
})
}
How can I change the navigation button in form.
Section {
NavigationLink(
destination: SignUpView(),
label: {
Text("Don't have an account?")
.foregroundColor(.gray)
})
}
I think you just need to add that link as footer of previous Section (that one containing Forgot Password?), like
Section(footer:
HStack {
Spacer()
NavigationLink(
destination: SignUpView(),
label: {
Text("Don't have an account?")
.foregroundColor(.gray)
})
}) {
Tested and worked with Xcode 12.4 / iOS 14.4