I asked about this earlier and no one seemed the know the answer.
I have a UITextView inside of a scroll view. The textview is offscreen when the main view loads. So it does not update when data is loaded in to it. Thus when ever the scroll it is inside moves I use a standard scrollview delegate method to detect the scroll. Then execute the code below.

        if(scrollView == miniScroll){
                for (UIView *childView in onlinePeopleView.subviews)
                {       
                        [childView setNeedsDisplay];
                }
        }

This does not work. setNeedDisplay does not cause it to update and display the text inside of the textview. What can I do to cause the text to be displayed? Everything else is set up correctly in IB and the text size is unaltered. So I know its none of that. If I NSLog() the contents of the text view it shows that the textview is infact imbued with the correct text it simply will not display. How can I force a textview to update it's display?


Thanks
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to