Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to activate the Keyboard when the button is clicked

How to activate Keyboard when UIButton is Clicked.

I do have button When I clicked the button I need to activate the keyboard.

For default when i click for UITextField it will activated..

How to Implement when UIButton. Just a Button clicked need to show Keyboard.

@thanks to all. in advance

like image 954
applelover Avatar asked Jun 17 '11 20:06

applelover


People also ask

How do you trigger a Enter button?

To trigger a click button on ENTER key, We can use any of the keyup(), keydown() and keypress() events of jQuery. keyup(): This event occurs when a keyboard key is released. The method either triggers the keyup event, or to run a function when a keyup event occurs.

How do you trigger HTML button when you press Enter?

Given an HTML document containing text area and the task is to trigger the button when the user hit Enter button. We can do it by using “keyup”, “keydown”, or “keypress” event listener on textbox depending on the need.


1 Answers

- (IBAction)buttonTapped:(id)sender
{
     [myTextField becomeFirstRespoder];
}
like image 111
Russian Avatar answered Sep 29 '22 07:09

Russian