Swift - Programmatically refresh constraints
问题 My VC starts with stackView attached with Align Bottom to Safe Area . I have tabBar, but in the beginning is hidden tabBar.isHidden = true . Later when the tabBar appears, it hides the stackView So I need function that refresh constraints after tabBar.isHidden = false When I start the app with tabBar.isHidden = false the stackView is shown properly. Tried with every function like: stackView.needsUpdateConstraints() , updateConstraints() , setNeedsUpdateConstraints() without success. Now I'm