Open andymedvedev opened 5 years ago
Hi 👋, seems like autolayout pass happens during removeFromSuperview
.
My guess is that you popped the controller from navigation stack with decelerating scroll view.
Perhaps the swizzled method should be guarded from causing layout changes when the scroll view is about to be removed from the superview.
Thanks for quick answer! You helped me very much!
@andertsk did you find out what was the exact issue?
@pronebird yeah you was almost right. I pop controller and on the other hand make setContentOffset call. That was my problem. Now i totally clear my code and romve this problem.
Hello, i cant reproduce constantly crash but sometimes it happens and i dont know why. It start crashing after we add library to project. I make exception breakpoint and it shows that it crashes on swizzled method pb_setContentOffset: