Switch Child View Controllers with Auto Layout In this post, I will show you how to switch between two child view controllers that are constrained with auto layout. This is the sample code from that blog post.