user169964
user169964

Reputation:

Can i Include a navigation controller inside my project.?

I am currently doing an iphone application in which i need to include a navigation controller in my 3rd view. there are tutorials for navigation controller but its in the first view itself. When i include it in the third view the view is not loading. can anyone help me please... Shibin

Upvotes: 1

Views: 147

Answers (1)

mahboudz
mahboudz

Reputation: 39376

When you add the second ViewController, then do:

[secondViewController.view addSubview:[navigationController view]];

Or you can add it to your rootViewController. It really depends on what you are trying to do. That's why I was asking for some code.

Upvotes: 1

Related Questions