Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
When you tilt an iPhone on its side in Safari, the Safari browser view adjusts its proportions to match the new orientation. It does this through autosizing. Autosizing adds rules to a view telling it how to reshape itself. It can stretch, stay the same size, and/or be pinned a certain distance from the edge of its parent. These properties can be set by hand in code or in Interface Builder’s size inspector, which is shown in Figure 4-16.