i want to show my keyboard on screen , whenever a view is shown i.e my login screen.. and i also want to change the name of enter button to Login button.
please help
i want to show my keyboard on screen , whenever a view is shown i.e my login screen.. and i also want to change the name of enter button to Login button.
please help
To change the return key value, change the UIReturnKeyType
enum (UITextInputTraits).
If you want the keyboard to show on the screen when it loads, you need to hook up your UITextField to the delegate and include UITextFieldDelegate in your header file. (That is assuming you are using a UITextField.)
Then call:
[textField becomeFirstResponder]
in your viewWillAppear method to give focus to the UITextField which then raises the keyboard.