Posts

Post not yet marked as solved
5 Replies
11k Views
Haven't seen anyone set, show or say how to set the Keyboard type for a TextField in SwiftUI yet. For example numberic or email keyboards etc.Can't seem to figure it out. Anyone else have any ideas?EDIT: For now there doesn't seem to be a way other than interfacing with UIKit. Doing so, one could interface with a UITextView and set the keyboard type there. Hopefully in the near future Apple will make simple things like choosing keyboard type and having password fields available in SwiftUI, but for now it seems we are stuck with interfacing.
Posted Last updated
.