In My app, I have an form with contains UITableView
and inside UITableview
I have place Mutiple UITextField
and UITextView.
Whenever i click on UITextfield or UITextView
Keypad comes up.
I am able to move the TextFiled
UP when user click on UITextField
ones they want to enter the data.But i am now able to move the TextView up when user want to enter the data.
Following is my code:
-(void)viewDidLoad
{
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardFrameDidChange:)
name:UIKeyboardDidChangeFrameNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(keyboardWillHide:)
name:UIKeyboardWillHideNotification object:nil];
}
Can anyone help me out to move the UITextView
UP above the keypad?
Thanks in Advance.