Open jaybowang opened 8 years ago
View controller A pushes to view controller B, and then navigate back to A while B is refreshing. What happens is that B ends refreshing after it's deallocated.
I tried the following code in B but crashes still happen.
override func viewWillDisappear(animated: Bool) { super.viewWillDisappear(animated) if isMovingFromParentViewController() { refreshControlBottom.endRefreshing() } }
Do you have any idea? Thanks so much.
View controller A pushes to view controller B, and then navigate back to A while B is refreshing. What happens is that B ends refreshing after it's deallocated.
I tried the following code in B but crashes still happen.
Do you have any idea? Thanks so much.