Loading different portrait/landscape UIViews
Posted
by Tronic
on Stack Overflow
See other posts from Stack Overflow
or by Tronic
Published on 2010-06-09T21:30:02Z
Indexed on
2010/06/09
21:32 UTC
Read the original article
Hit count: 283
Hi,
I have following View COntroller structure:
ScrollViewController LandscapeViewController PortraitViewController
Each with its own .nib
The app starts in landscape mode where many landscape views are added to a scrollview. Each landscape view has its specific portrait view, so I have to assign like ID's to each of this views. Can you tell me, how I can load the specific portrait view for each landscape view when rotating the device?
Do I have to make two scroll views? One for landscape, one for portrait? Or is it possible to just scroll through the landscape scrollview an load just one portrait view with the right content based on an ID? How could I implement that?
The data comes from a property list.
Thanks in advance!
© Stack Overflow or respective owner