search

Home  >  Q&A  >  body text

ios - textView shouldChangeTextInRange方法没有办法检测到中文输入,请问怎么解决?

PHPzPHPz2784 days ago757

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-04-17 16:41:41

    I guess it’s because that’s what should happen, but it hasn’t happened yet.
    It is recommended that you try the following UITextViewDelegate:

    func textViewDidChange(textView: UITextView)

    It will be triggered after the text is changed.

    reply
    0
  • Cancelreply