iphone - iOS event when keyboard hides -


i need control, after keyboard shown , done button pressed, when keyboard hides. event triggered when hides keyboard on ios? thank you

yes use following

//uikeyboarddidhidenotification when keyboard hidden //name:uikeyboardwillhidenotification when keyboard going hidden  [[nsnotificationcenter defaultcenter]addobserver:self selector:@selector(onkeyboardhide:) name:uikeyboardwillhidenotification object:nil]; 

and onkeyboardhide

-(void)onkeyboardhide:(nsnotification *)notification {      //keyboard hide } 

Comments