views:

27

answers:

1

Hi,

I want to implement the navigation controller in iPad, I know that it is not possible in xcode to do the navigation controller in iPad, there is a thing in which I can enter the view controller and with the help of this we can do the coding of navigation controller.. If you have any tutorial regarding this then plz send it to me.. or give me the tutorial link of that source...

Thnx,

+1  A: 

I know that it is not possible in xcode to do the navigation controller in iPad

Are you kidding ? Just create an instance of UINavigationController and add the view on the window... Exactly the same way you do on the iPhone !!!

UIViewController *aVC = [[UIViewController alloc] initX];
UINavigationController *navController = [[UINavigationController alloc] initWithRootVC:aVC];
[[UIApplication sharedApplication].keyWindow addSubview:navController.view];

You got the idea ?

F.Santoni