animating text box when clicked
I am trying to move a text box from the bottom of the screen in an iPad app so that the keyboard does not cover it. I have the following which works. -(void) textViewDidBeginEditing:(UITextView *) observationComment { observationComment.frame=CGRectMake(190, 100, 700, 250); } But 1 - I would like to animate the movement - is this possible? 2 - I get a warning Local declaration of 'observationComment' hides instance variable Any advice? Maybe this is not the best way to do it. John Sauer I previously found the answer here , but I had to add code so that the View Controller's view.frame adjusts