• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UITextView not updating
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITextView not updating


  • Subject: Re: UITextView not updating
  • From: Luke the Hiesterman <email@hidden>
  • Date: Mon, 27 Jul 2009 11:36:32 -0700

It would be easier to answer this with a sample project.

Luke

On Jul 27, 2009, at 11:10 AM, Development wrote:

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

_______________________________________________

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


References: 
 >UITextView not updating (From: Development <email@hidden>)

  • Prev by Date: UITextView not updating
  • Next by Date: Re: NSString -componentsSeparatedByString: line break
  • Previous by thread: UITextView not updating
  • Next by thread: Re: UITextView not updating
  • Index(es):
    • Date
    • Thread