For anyone facing the same problem, the issue lies in NSLayoutConstraint's multiplier factor.
For me, I was applying the width anchor(for the parent stackView) programatically at runtime whose multiplier was calculated(based on some logic), at runtime, to be 0.3333333333333333 which was messing up the Auto Layout engine calculations when reusing the cells(I have a collectionView and each cell has a stackView, the parent stackView I mentioned above). So I used this logic to reduce the precision from 0.3333333333333333 to 0.333984375 and Auto Layout was happy and no more crashes
Post
Replies
Boosts
Views
Activity
Hi @ShaiMishali . Did you find the solution to this? I am facing the same issue and have more or less the same setup(Nested StackViews in reusable cells)