views:

45

answers:

2

Hi Guys, I need a help from ur side.

Actually I need to call a method automatically when I click on to the textview. Is there any delegate methods or any other process for this.

Anyone's help will be much appreciated.

Thank you, Monish.

+1  A: 

Check out the UITextView Class Reference and the UITextView Protocol Reference. Maybe textViewShouldBeginEditing: is what you're looking for.

David Gelhar
A: 

UITextView inherits from UIScrollView, so maybe

(BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view

Overridden by subclasses to customize the default behavior when a finger touches down in displayed content.

thomasferraro
actually I had a textview in tableview cell.In that the touches is not working.Is there any other suggestions regarding to this.
monish