tags:

views:

36

answers:

2

Hi all

can we make virtual keyboard always on,???

any code snippet?

regards shishir

A: 

Well, you can show the keyboard in code like this:

[someTextField becomeFirstResponder];

Until you don't send the resignFirstResponder message, the keyboard shouldn't disppear.

gammelgul
+1  A: 

You'll need to have a UITextField or UITextView—probably the first one, in this case—set as the first responder. It doesn't have to be visible; you can call -becomeFirstResponder on it while it's offscreen and it'll bring up the keyboard and capture any text entered therewith.

Noah Witherspoon