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

java - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -