问题描述:

Is there any event or method to detect that I pressed the ipad's default hide keyboard button?

网友答案:

You can use these notifications:

UIKeyboardWillHideNotification - Posted immediately prior to the dismissal of the keyboard.

UIKeyboardDidHideNotification - Posted immediately after the dismissal of the keyboard.

Source: Managing the Keyboard

相关阅读:
Top