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

KVO移除观察者 #6

Open
yangguanghei opened this issue Nov 21, 2019 · 0 comments
Open

KVO移除观察者 #6

yangguanghei opened this issue Nov 21, 2019 · 0 comments

Comments

@yangguanghei
Copy link

1.iOS9之后不移除观察者程序也不会崩溃了
2.不移除不是因为内存泄漏吧? KVO不会对观察者进行强引用 之所以移除是因为会有野指针的问题,可能引起程序崩溃。

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

1 participant