Friday, August 06, 2010

Auto show keyboard

To automatically show the keyboard in any view for a specific UITextField, just set the UITextField as the first responder in the viewDidLoad method.

Eg:
     - (void)viewDidLoad {

               [super viewDidLoad];
              [commentTxt becomeFirstResponder];


    }

No comments:

Post a Comment