Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Moving controls to different locations, as we did in the previous section, can be a very tedious process, especially with a complex interface. Wouldn't it be nice if we could just design the landscape and portrait views separately, and then swap them out when the phone is rotated?
Well, we can. But it's a moderately complicated option, which you'll likely use only in the case of very complex interfaces.
While controls on both views can trigger the same actions, we need to be able to keep track of the fact that multiple outlets will be pointing to objects performing the same function. For example, if we had a button called foo, we would actually have two copies of that button—one in the landscape layout and one in the portrait layout—and any change we make to one needs to be made to the other. So, if we wanted to disable or hide that button, we would need to disable or hide both of the foo buttons.