To Disable Autocorrection
To disable autocorrection in the TextField:
Code:
TextField(
"Name", text: $name)
.disableAutocorrection(true)
Editing Font to non default fonts and customising borders in TextField:
You can specify each aspect of the font and borders to fit
Code:
TextField("Name", text: $name)
.font(Font.system(size : 15, weight: .medium, design: .seriff))
.overlay(RoundRectangle(cornerRadius(10)