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

lst_PopViewDidDismiss代理函数调用时机 #10

Open
ioschangnan-github opened this issue May 8, 2020 · 1 comment
Open

lst_PopViewDidDismiss代理函数调用时机 #10

ioschangnan-github opened this issue May 8, 2020 · 1 comment

Comments

@ioschangnan-github
Copy link

lst_PopViewDidDismiss调用后,控件并没有从内存中注销,全局使用一个控件时,判断会有问题

@LoSenTrad
Copy link
Owner

  1. 代理方法:lst_PopViewDidDismiss 调用时机是dealloc之后移除popView, 已经优化
  2. 全局使用一个popView作为属性, 请使用weak修饰, 保证popView正常内存回收(LSTPopView内部有回收机制)

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

No branches or pull requests

2 participants