SlackTextViewController
SlackTextViewController copied to clipboard
How to hide keyboard autocompletion?
using cocoapod version 1.9.5
I try to hide keyboard autocompletion with these code
textView.autocorrectionType = .No
textView.autocapitalizationType = .None
or
override func textViewDidBeginEditing(textView: UITextView) {
textView.autocorrectionType = .No
textView.autocapitalizationType = .None
}
but it both doesn't seem to work. I have no idea why. (See attach screenshot)

This must be a bug in the library. We turn the auto correction on/off because of auto-completion feature. Look for slk_enableTypingSuggestionIfNeeded.
The code doesn't assume auto correction was completely disabled, it should.