title: iphone/ipad orientation handling
body: <p>This is more of a general question for people to provide me guidance on, basically Im learning iPad/iPhone development and have finally come across the multi-orientation support question.</p>
  
  <p>I have looked up a fair amount of doco, and my book "Beginning iPhone 3 Development" has a nice chapter on it.</p>
  
  <p>But my question is this, if I was to programatically change my controls (or even use different views for each orientation) how on earth to people maintain their code base? I can just imagine so many issues with spaghetti code/thousands of "if" checks all over the place, that it would drive me nuts to make one small change to the UI arrangement.</p>
  
  <p>Does anyone have experience handling this issue? What is a nice way to control it?</p>
  
  <p>Thanks a lot
  Mark</p>