1

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

yogesh
  • 79
  • 2
  • 2
  • 6
  • 1
    Check this: http://stackoverflow.com/questions/976950/change-text-of-return-keyboard-button – OnkarK Sep 06 '13 at 11:36

1 Answers1

0

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.

Ryan
  • 1,435
  • 13
  • 16