views:

21

answers:

1

Good day everyone, currently I'm doing a simple project which uses the navigation controller default template.

Now I'm done with my current XIB (navigation template), I have created second XIB and I have added a navigation controller on it.

Let say: It is a hierarchy table view, first the user choose one of the option available on the first table view, after that, will proceed to second XIB with another table view too.

My problem is, I have added one navigation button (Compose Email Item) on second XIB, but when I test run the program and reach second XIB, I couldn't see the button up there. Anyone know what happen?

Thanks.

A: 

As you said that you have added a navigation controller in your second .XIB

But for second .XIB there is no need to add navigation controller, you just add UiViewController.

And in viewWillAppear method of second controller add your navigation button

Reena