UITextInputMode 类有更改通知
UITextInputCurrentInputModeDidChangeNotification
所以添加这个通知
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardModeChange:) name:UITextInputCurrentInputModeDidChangeNotification object:nil];
我希望它对你有用。快乐编码:)