How do I change the value of a format relationship constraint from code?
I gave a 1: 2 aspect ratio limitation to the imageView in my xib. I created an IBOutlet for constraint. Now I need to change the aspect ratio to 1: 1 for certain criteria. I want to know if there is a way to change the value of the constraint multiplier other than removing the old constraint and introducing a new one.
+3
source to share