How to load xib file with attached view controller ?

Posted by hib on Stack Overflow See other posts from Stack Overflow or by hib
Published on 2010-05-13T08:52:05Z Indexed on 2010/05/13 9:04 UTC
Read the original article Hit count: 373

Filed under:
|
|

Hello all ,

I am using a xib file as a back view in coverflow component . and it is seeing nicely .

The code for loading a xib file is :

NSArray *array = [[NSBundle mainBundle] loadNibNamed:@"TestMine" owner:nil options:nil];
        backView = [array objectAtIndex:0];

Now I want to attach a view controller with this xib without changing the current code .

How can I do so ?

Tell me if more details need to answer the question .

Thanks .

alt text

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiviewcontroller