iphone/ipad orientation handling

Posted by Mark on Stack Overflow See other posts from Stack Overflow or by Mark
Published on 2010-05-12T02:26:41Z Indexed on 2010/05/12 2:34 UTC
Read the original article Hit count: 430

Filed under:
|
|

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.

I have looked up a fair amount of doco, and my book "Beginning iPhone 3 Development" has a nice chapter on it.

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.

Does anyone have experience handling this issue? What is a nice way to control it?

Thanks a lot Mark

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad