title: Scroll view issues when key board moves up in UItextField / TextView iPhone
body: <p>I have a <strong>scrollview</strong> on my view in that i have all the sub views as shown bellow</p>
  
  <p>UIView</p>
  
  <pre><code>  Scroll View
  
            1.ImageView
            2.Table view
            3.Text View
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/P9DwC.png" alt="enter image description here"></p>
  
  <p>√√ To move the scroll view when keyboard appears / dismiss I have implemented logic in textview delegate metods as follows √√</p>
  
  <pre><code>- (void)textViewDidBeginEditing:(UITextView *)textView;
  {
        //To move the view down 
        [UIView beginAnimations:nil context:NULL];
        [UIView setAnimationDelegate:self];
        [UIView setAnimationDuration:0.3];
        [UIView setAnimationBeginsFromCurrentState:YES];
        scrollView.frame = CGRectMake(scrollView.frame.origin.x, (scrollView.frame.origin.y - 120), scrollView.frame.size.width, scrollView.frame.size.height);
        [UIView commitAnimations];
  
  }
  
  
  - (void)textViewDidEndEditing:(UITextView *)textView 
  {   
        //To move the view down 
        [UIView beginAnimations:nil context:NULL];
        [UIView setAnimationDelegate:self];
        [UIView setAnimationDuration:0.3];
        [UIView setAnimationBeginsFromCurrentState:YES];
        scrollView.frame = CGRectMake(scrollView.frame.origin.x, (scrollView.frame.origin.y + 120), scrollView.frame.size.width, scrollView.frame.size.height);
        [UIView commitAnimations];
  }
  </code></pre>
  
  <p>√√ This method helps alot to move the view up/down with respcet to keyboard,</p>
  
  <p>But here is the problem of scrolling.</p>
  
  <p><strong>User can not scroll all the view in presensec of key board. The view scrolls up to some position as follows, we can't see the picture / first column of table.</strong></p>
  
  <p><img src="https://i.stack.imgur.com/YDKV2.png" alt="enter image description here"></p>
  
  <p><strong>If the user want to show the first column / profile pic in presence of keyboard doesn't possible. how to fix theis issue.</strong></p>