Best way to change XIB files based on rotation?
Posted
by Graeme
on Stack Overflow
See other posts from Stack Overflow
or by Graeme
Published on 2010-03-23T08:58:59Z
Indexed on
2010/03/23
9:03 UTC
Read the original article
Hit count: 428
Hi,
My app has so far just been a portrait-based application. However, I am adding landscape mode to a new version, but have found that my XIB files look shocking when rotated from portrait to landscape. Apparently I need to make a landscape version of each XIB and use some code to change with XIB launches based on what rotation occurs. Am I right? If so, where do I go from here? Are there any Apple sample apps utilising this code?
FYI - My XIB files just have text in them.
Thanks.
© Stack Overflow or respective owner