UITextView text does not get cleared?

I'll go out on a limb and ask why you're using a UITextView. I honestly have never needed to use a UITextView. Try changing it to a UILabel and see if the problem is specific to the UITextView.

If you absolutely need a UITextView, let me know in a comment, but I have a suspicion that a UILabel is what you're after.

I'll go out on a limb and ask why you're using a UITextView. I honestly have never needed to use a UITextView. Try changing it to a UILabel and see if the problem is specific to the UITextView.

If you absolutely need a UITextView, let me know in a comment, but I have a suspicion that a UILabel is what you're after. It appears that you are adding it as a subview every time. So you're actually creating multiple UITextViews and adding them on top of each other.

You would either need to removeFromSuperview or just set the text of the instance variable. Take these two lines out of showMsg and put them in viewDidLoad: self setMessageTV : UITextView alloc initWithFrame:CGRectMake(5, 5, 315, 90 ); self. View addSubview : self messageTV.

.... 1. I started off using the UILabel, but some of the messages to be displayed were longer than what would fit in label - so now I'm using UITextView. 2.

You led me to correct path - adding multiple subviews. Now the problem is fixed! :) Thanks.

– Sam Nov 5 at 23:12.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions