UITextViewDelegate not called

283 Views Asked by At

My UITextView delegate is not getting called. I set the delegate of the textview to self in cell for row by saying cell.textview.delegate=self. (The cell is a custom subclassed cell with UITextView property.) Nevertheless, in my tableViewController the following line does not get called:

  - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text

Why?

0

There are 0 best solutions below