//通知:注册键盘将要出现的通知   [[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(keyboadWillShow:)name:UIKeyboardWillShowNotificationobject:nil];   [[NSNo...