ios - textViewDidChange Calling two times while Chinese keyboard -


  • shouldchangetextinrange method working fine while english text not working when chinese keyword entered , because of use textdidchange method chinese text when chinese text enter textdidchange calling 2 times, each string 2 times.

  • what should chinese text? know can chinese text using textview.text use html string in textview, if string using textview.text can't html string. suggest me solution can html string textview both english , chinese text.

thanks.

try this:

[self.pwebview evaluatejavascript: @"document.body.innertext"                     completionhandler:^(id _nullable result, nserror * _nullable error) {                      nsstring *astring = result;              }]; 

Comments

Popular posts from this blog

Google sheets equipment borrowing system -

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

c# - Convert type 'System.Collections.Generic.List<string>' to 'System.Collections.Generic.IList<>' -