Hi how can i get what button is clicked on keyboard.I need to have some kind of listener which get what button is clicked on uiKeyboard.
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I finally made it, but i think it is one of the ugliest way, but i share my discovery to you.
1.)i made the viewController uitextviewdelegate , and add text view with 0 height and width
2.)i implement the method
- (void)textViewDidChange:(UITextView *)textView3.)then i got the value of the last clicked key on keyboard like this
so this is one way but if you know nicer method for this answer my question 🙂