uikeyboardwillhidenotific

Detecting iPad keyboard hide versus external keyboard connect?

The iPad virtual keyboard will disappear in one of (at least) these 3 circumstances: If the control (say, a UITextField) programmatically resigns first responder. If the user taps the "dismiss keyboard" button in the lower right. If the user connects to the USB/keyboard dock peripheral. In all cases, I get the UIKeyboardWillHideNotif...