Autosizing and Autorotation. Chapter 5 of iOS6 Book.