UITextView: much better performance after second scroll

I have a UITextView with a lot of text as well as images that I add using NSTextAttachment.

When scrolling the text for the first time, it is very laggy. However, when I get to the end, I can scroll through all the text without lagging.

I think images and text are lazy loaded when scrolling for the first time.

Is it possible to make it always fast?

Thank you in advance

+3
ios objective-c uitextview


source to share


No one has answered this question yet

Check out similar questions:

nine
Scrolling performance using UItextView with large NSAttributedString
7
UITextView inside UIScrollView scroll task
five
UITextView scrolls after text has been deleted / inserted
4
Scroll up page in iOS UITextView after text change
2
UITextView not scrolling when assigning text
2
UITextView memory scrolling issue on iOS7
1
Why does the UITextView not scroll when the typed text reaches the keyboard level?
1
Is it possible that the UITextView automatically scrolls the text and then re-scrolls in Xcode?
0
UITextView custom scroll size
0
Saving text in UITextView after scrolling the screen



All Articles
Loading...
X
Show
Funny
Dev
Pics