07-18-2023, 11:32 PM
Edit: This no longer works with Text, only supports input fields now.
Just in case someone ends here with the same question regarding SwiftUI:
// Mystring is here
TextField("mystring is here")
.autocapitalization(.sentences)
// Mystring Is Here
Text("mystring is here")
.autocapitalization(.words)
Just in case someone ends here with the same question regarding SwiftUI:
// Mystring is here
TextField("mystring is here")
.autocapitalization(.sentences)
// Mystring Is Here
Text("mystring is here")
.autocapitalization(.words)