-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_YYTextKeyboardViewFrameObserver崩溃 #978
Comments
哈喽,能分享一下你的处理方案吗,我也遇到这个问题了 |
@implementation YYTextKeyboardManager (Helper)
|
哈哈,好惭愧,我是这么解决的, #pragma clang diagnostic push
|
weakPropertyMap 这个实现方法是啥呀? |
推测:_keyboardView在_YYTextKeyboardViewFrameObserver对象dealloc前被释放掉了,导致访问了野指针。很可能两者的关联处理有关系。
场景:并未使用YY相关组件,而是使用了UITextField,调起了键盘。YYTextKeyboardManager单例收到了UIKeyboardDidChangeFrameNotification通知,最后导致的崩溃。
The text was updated successfully, but these errors were encountered: