[ad_1]
I’m utilizing UITextView and when person enter three consecutive dots …, it will get changed as smaller dots … (unicode u2026). How one can keep away from this? I want the precise string which person entered; not the auto corrected string.
Word: I’ve tried setting autoCorrectionType to .no, however no luck.
let textView = UITextView()
textView.delegate = self
textView.translatesAutoresizingMaskIntoConstraints = false
textView.font = UIFont.preferredFont(forTextStyle: .caption1)
Right here is the delegate technique,
func textViewDidChange(_ textView: UITextView) {
print("Person entered string: (textView.string)")
}
[ad_2]

