I've got a table view whose cells are configured with autolayout constraints to handle a couple of slightly different layouts depending on their contents. I make the changes by setting the active property on the constraints that I want to activate or deactivate. This works fine until I put the app into the background and return to it. When I do this, it looks like my changes are lost and the cells' layout constraints return to the state they originally had in their nib file.
This only occurs when running on iOS 13 with a build from Xcode 11. If I run on iOS 12 with a build from Xcode 10.3 or Xcode 11 I do not see this issue. If I run on iOS 13 with a build from Xcode 10.3 I do not see this issue.
I've tried putting a symbolic breakpoint at -[NSLayoutConstraint setActive:] but it does not get hit when putting the app into the background or returning it to the foreground.
Has anybody else run into an issue like this? Any hints? Thanks!