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
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.
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.
- (IBAction)buttonTapped:(id)sender
{
[myTextField becomeFirstRespoder];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With