-
Notifications
You must be signed in to change notification settings - Fork 126
how to do i enable autocorrection? #67
Comments
It would be a nice addition. Currently it is a bit tricky. So, in order to create your own textInput I'd suggest:
let myInput = AnimatedTextField()
myInput.clearButtonMode = .whileEditing
myInput.keyboardType = .emailAddress
myInput.autocorrectionType = .yes
animatedTextInput.type = .generic(textInput: myInput) Side note: |
Im able to get the textview autocorrection now, but when I type the textview value does change. I know I can use textViewDidBeginEditing to update AnimatedTextInput().text but I didn't that should be necessary. |
do you know if we can make this library available for iOS 10.0? |
@pprevalon sorry I don't understand. What do you mean? @p4vlos if your question is not related to this issue, feel free to open a new one. The library works with iOS10.0 |
By adressing issue jobandtalent#67, I added a property to set the UITextAutocorrectionType on the underlaying UITextField / UITextView. Is is still turned off by default but the user now has the choice to turn it on.
textAttributes How to use |
how to do i enable autocorrection?
The text was updated successfully, but these errors were encountered: