We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
}
The text was updated successfully, but these errors were encountered:
解决了吗?
Sorry, something went wrong.
需要判断观察者是否存在,再移除就没事了
No branches or pull requests
{
// BAKit_Objc_exchangeMethodAToB(NSSelectorFromString(@"init"), @selector(ba_web_init));
// BAKit_Objc_exchangeMethodAToB(NSSelectorFromString(@"initWithFrame"), @selector(ba_web_initWithFrame));
BAKit_Objc_exchangeMethodAToB(NSSelectorFromString(@"dealloc"),
@selector(ba_web_dealloc));
}
{
//1.这里需要判断是否已经添加了observe
if(hadAddObserve){
[self ba_removeNoti];
}
//2.在之后应该调用ba_web_dealloc
[self ba_web_dealloc];
}
The text was updated successfully, but these errors were encountered: