I have a page with 5 UITextView
objects. I use the textViewDidBeginEditing:
method to animate the observationComment
text box which works fine. But now I want to do the same for the other 4, but I can't seem to work out how to determine which text view has been tapped. The observationComment
textbox fires each time I click on any of the others.
-(void) textViewDidBeginEditing:(UITextView *) observationComment
{
[self.view bringSubviewToFront:observationComment];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
obsCommentLabel.frame= CGRectMake(192, 113, 148, 21);
observationComment.frame=CGRectMake(191, 135, 710, 250);
[UIView commitAnimations];
}