我正在推出一个VC,它位于导航控制器中。如果我打开键盘并将其关闭,之前的VC仍会显示键盘。
我已经尝试了所有可以找到的建议,即: How do I dismiss the iOS keyboard? No longer able to hide keyboard during viewWillDisappear in iOS7 Dismiss Keyboard presented in modal View Controller (Form sheet)
我已尝试在viewWillDisappear中添加“enditing”,同时在搜索栏和VC上添加resignFirstResponder ...没有运气这些......