I have a button I created and made constraints for in interface builder. However, now, I want to add it to a vibrancy effect.
So when I add it to the content subview when creating the vibrancy. The button losing all the constraints. Is there a way to keep the constraints from interface builder?
Using swift.
vibrancyEffectView.contentView.addSubview(buttonOulet)
visualEffectView.contentView.addSubview(vibrancyEffectView)