SwiftNotice icon indicating copy to clipboard operation
SwiftNotice copied to clipboard

有内存泄漏问题

Open Franzeyang opened this issue 6 years ago • 1 comments

pleaseWait() UIApplication.shared.keyWindow?.rootViewController = UIViewController() clearAllNotice() 在任意controller里执行完以上代码跳转到新的controller之后,旧controller的view没有被释放

Franzeyang avatar Oct 30 '18 08:10 Franzeyang

找到原因了,是因为rv一直持有当前view

Franzeyang avatar Oct 30 '18 12:10 Franzeyang