Post

Replies

Boosts

Views

Activity

Reply to TextEditor become first responder
since iOS 15 you can use @FocusState example however, if you need iOS 14 support, I recommend using SwiftUI-Introspect TextEditor(text: $message)            .introspectTextView { textEditor in              textEditor.becomeFirstResponder()           } do not forget to call introspect after all styles at the very end
Jan ’22