I have been looking into this for the last couple of days and it would seem that I have run into a bug.
I have 20 UITextViews being created programmatically. There are 4 text views on the screen at a given time. When you gesture upwards they all move upwards bringing the views currently visible off the screen and 4 that were below the screen onto the screen.
The problem is that it some of the text views show no content however it is there and you can prove so by tapping and holding over the text view and it will define the invisible word under your finger.
I have tried calling
for all text views coming onto the screen but evidently there's something wrong with the drawing cycle because I guess it thinks they don't need to be redrawn. I have also tried:
So the content is there, it's just invisible. Does anyone know how to fix this or is it just a bug?
I have 20 UITextViews being created programmatically. There are 4 text views on the screen at a given time. When you gesture upwards they all move upwards bringing the views currently visible off the screen and 4 that were below the screen onto the screen.
The problem is that it some of the text views show no content however it is there and you can prove so by tapping and holding over the text view and it will define the invisible word under your finger.
I have tried calling
Code:
- (void)setNeedsDisplay
Code:
textview.text = textview.text;
So the content is there, it's just invisible. Does anyone know how to fix this or is it just a bug?