Two UIViews in one .xib file?

Posted by Tronic on Stack Overflow See other posts from Stack Overflow or by Tronic
Published on 2010-04-23T18:50:50Z Indexed on 2010/04/23 18:53 UTC
Read the original article Hit count: 345

hi,

i made a second uiview in mei .xib file. the first view is landscape and i get it by following code

ItemController *newItem;
newItem = [[ItemController alloc] init];
newItem.view.....

how can i "activate" the second view, so i can use it with

newItem.view2...

is that possible? the second view is portait mode, so it should be hidden and when turning the ipad the first view should be hidden and the second gets visible.

thanks

© Stack Overflow or respective owner

Related posts about ipad

Related posts about uiview