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];


    }

1 comment:

  1. Nice and very helpful information i have got from your post. Even your whole blog is full of interesting information which is the great sign of a great blogger.

    Lenovo - IdeaPad 15.6" Laptop - 6GB Memory - 1TB Hard Drive - Dark Chocolate

    Lenovo - 14" Notebook - 4 GB Memory - 320 GB Hard Drive - Black

    ReplyDelete