Hi In my application what is want is when user clicks on button next view is pushed and default keyboard should be open in the pushed view .
Thanks in advance
Hi In my application what is want is when user clicks on button next view is pushed and default keyboard should be open in the pushed view .
Thanks in advance
Assuming you have a text field or something in that view you need to do this:
[myTextView becomeFirstResponder]
in your viewDidLoad
method.
You'll have to use -becomeFirstResponder: in the -viewDidAppear: method.
-(void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
[yourTextField becomeFirstResponder];
}
This will make the keyboard appear.
in your next view, call the becomeFirstResponder method from the input field.
e.g. [[nextViewController] usernameField] becomeFirstResponder];