ios programming using uitextview as text editor
I'm developing an application for ipad that works like a text editor where you can input text without any limitations into a uitextview. However the problem I have is that after a while when the text gets quiet large (about 20 pages) there is big lag when entering new characters. Is this a problem related to uitextview that can't handle large texts or is this just a limitation based on ipad hardware. Should I be using som开发者_开发技巧ething else instead of an uitextview to input text? Thank you.
you may try to cache in and out the UITextView yourself, then it will certainly become faster. I do not know any other object that is more suitable, since all the editing methods are already there.
Maybe split things up into multiple UITextViews if the text gets too long?
精彩评论