tags:

views:

11

answers:

0

i am now doing a ipad app which only has landscape view. normally when i do a portrait view i just use a rootviewcontroller.view and addsubview in the root view. and using delegate to tell rootviewcontroller to remove it when switching views.

i've already set the info.plist so that the only accepted orientation is 2 landscape mode. and i've made all my view in nib landscape too.

problem is. that the rootview load fine but when i try to addsubview to rootview, the second view appears as if it was somehow portrait again. i've tested, only by setting the second view portrait, can i make it landscape. i think it is a bug or sth?

or maybe i should consider redisign my basics structures. what is the best way to switch views in landscape mode? I know how to do landscape view and load it. question is to switch it. i got a lot of views to swtich back and forth, and i cannot use navigationcontroller. i got my own navi buttons customade

related questions