Hey all,
Haven't had any luck etting assistance in this forum yet, but I'll keep trying.
So I have a tableView that contains a cell that contains a UITextView as a subview. When I scroll so that this cell leaves the screen, and then scroll back, the textView's content is gone, aside from a few pixels on the left side of it. Here's my code to put the textView in the cell. See anything amiss?
Thanks!
Charlie
Haven't had any luck etting assistance in this forum yet, but I'll keep trying.
So I have a tableView that contains a cell that contains a UITextView as a subview. When I scroll so that this cell leaves the screen, and then scroll back, the textView's content is gone, aside from a few pixels on the left side of it. Here's my code to put the textView in the cell. See anything amiss?
Code:
textFrame = cell.contentView.frame;
textFrame.origin.x += 5;
textFrame.origin.y += 10;
textFrame.size.width = 250;
textFrame.size.height = 180;
UITextView *textView = [[UITextView alloc] initWithFrame:textFrame];
cellText = [[detailBird description] mutableCopy];
textView.text = cellText;
textView.editable = NO;
textView.userInteractionEnabled = NO;
[cell.contentView addSubview:textView];
Charlie