Textview not able to move up when begin editing

Posted by Jason lau on Stack Overflow See other posts from Stack Overflow or by Jason lau
Published on 2013-06-28T03:13:42Z Indexed on 2013/06/28 4:21 UTC
Read the original article Hit count: 253

Filed under:
|
|
|
|

I am having problem moving up my UITextview at the bottom.

The UITextField is working properly but the UITextView is not working.

Here is my code when press the TextView it pop up the toolbar. Please help

- (IBAction)HideKeyboard:(id)sender {
    [self.myTextField resignFirstResponder];
    [self.myTextView resignFirstResponder];
    [self.myScrollView setContentOffset:CGPointZero animated:YES];
}

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios