I have two ContainerView which are placed above each other,for example ContainerA is front of ContainerB.
When a Button tapped ContainerA width and height should change to a smaller size, then ContainerB will be shown.
How can I change height and width of a container view using swift instead of story board? does it have something like transform?