This is may be basic question, but need help on this - I have 4 UIViews as shown below in image. Based on certain conditions, I need to move hide UIView 2 and move all below UIView's. Similarly, hide UIview 3 and move other view.
How to do this using NSLayoutContraint in swift code ?


