For more details ( Size Classes and Adaptivity through Storyboard) of using auto layout for adaptivity in iOS, we can follow the apple developer site link.
We can also add constraints Programatically using Visual Format Language as described here at apple developer site.