UICoreTextView icon indicating copy to clipboard operation
UICoreTextView copied to clipboard

when I add the coreTextView to the TableView , when I change the tableView's Frame,the view will blank~

Open junkor opened this issue 11 years ago • 3 comments

img_1051

Hello , I like this rich Text Kit very much, tiny & powerful.

when I add the coreTextView to the TableView , when I change the tableView's Frame,the view will blank~

and when I input only chinese , the view can not render, It's blank,too. how to fix it? can you help ? I'm not good at CoreText.framework

junkor avatar Dec 06 '13 03:12 junkor

Can you prepare me a small test project to reproduce the problem?

Did you add a font which supports chinese to the attributed string? When calculating the text size (before rendering the table), try to use "ceilf" on both the width/height AND then add +1 to the size. I've noticed that sometimes on iOS7 the returned size from CoreText is 1 pixel smaller than it should be.

giladno avatar Dec 06 '13 03:12 giladno

I found that when I not reuse the Cell too much , the view is rendered,Maybe It's my fault, not bug of your CoreTextView, I will find another way to fix it. by the way,I love it so much. very very good job.

junkor avatar Dec 06 '13 12:12 junkor

Hi Gilad! Thanks for the great class! Similar problem for me: I posted a question in StackOverflow about it.

andisab avatar Aug 31 '15 07:08 andisab