iphone - How to access UITableViewCell's UITextView from the UIViewController? -
I have created my own UITableViewCell XIB file with a UITextView inside, though, I do not know how to use its attributes Use and use its outlet with UIViewController. What is the way to do it?
You can access it by dragging it to the subviews of the cell
Look outside the array and cast it to UITextView
:
how you created your view hierarchy , It determines ObjectAtIndex
. UITextView * textView = (UITextView *) [cell.subviewsObjectAntindex: Jindex];
Comments
Post a Comment