objective c - IOS keyboard on hide button -


i want monitor keyboard hide button on ios , fire event on that. i'm talking about:

ipad keyboard

i want monitor actual button pressed user. don't want event when keyboard hides.

[[nsnotificationcenter defaultcenter] addobserver:self                                       selector:@selector(keyboardwillhide:)                                              name:uikeyboardwillhidenotification                                            object:nil];  -(void)keyboardwillhide:(nsnotification *)notif { //keyboard hide } 

uikeyboarddidhidenotification can used.

if don't have other triggers hide keyboard (such tap outside or hide on return) can ensure event triggered 'keyboard hide' button


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -