UITextView not updating
UITextView not updating
- Subject: UITextView not updating
- From: Development <email@hidden>
- Date: Mon, 27 Jul 2009 11:10:41 -0700
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 (email@hidden)
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:
This email sent to email@hidden