第一:
IOS8 以上 keyboardWillShow 在UIKeyboardWillShowNotification 调用两次 问题解决
answer:
程序在ios8 中textfield切换时弹出键盘会出现view不上移的问题,后来发现 keyboardWillShow 被调用了两次,将correction 和 spellcheck属性关闭,再次运行就正常了。
第一:
IOS8 以上 keyboardWillShow 在UIKeyboardWillShowNotification 调用两次 问题解决
answer:
程序在ios8 中textfield切换时弹出键盘会出现view不上移的问题,后来发现 keyboardWillShow 被调用了两次,将correction 和 spellcheck属性关闭,再次运行就正常了。