Skip to content
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

你好,遇到一个问题,退出聊天时闪退? #1

Open
jingweili911 opened this issue Oct 19, 2016 · 2 comments
Open

你好,遇到一个问题,退出聊天时闪退? #1

jingweili911 opened this issue Oct 19, 2016 · 2 comments

Comments

@jingweili911
Copy link

2016-10-19 11 05 17

-(void)dealloc{
//[self removeObserver:self forKeyPath:@"emojiBtnSelected"];
//[[NSNotificationCenter defaultCenter] removeObserver:self];
}
代码走到这两行出现闪退,

@timelessg
Copy link
Owner

#3212c0 已修复。感谢 @jingweili911

@jingweili911
Copy link
Author

解决办法改为
[_voiceKeybaordBtn removeObserver:self forKeyPath:@"selected"];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants