I have a custom cell with UITextView. The length of the text that I upload to this UITextViewone changes from very short to very long. Therefore, please do not say "use a label instead." I want to keep my cells at the same height, but use vertical scrolling UITextViewif the text is too long.
I tried the method here , but since I use custom cell initialization in my cellForRowAtIndexPathevent, the observer did not work. I tried the same method in my cell class in initWithStyle, didn't work either.
What else do you offer? Or should I work with this function differently? Any help is appreciated.
Thanks in advance.
source
share