0

I am developing an iPhone application in which I have embedded UITabbarController and UINavigationController in my storyboard. when I select the first tab, it loads the navigation controller with a uitablecontroller as its rootviewcontroller. I have set the same UITableViewController again as the rootviewcontroller for the next navigation controller correspondingly to the next tab. but its not loading anything and I see a black screen. my question is whether i can set a single UITableViewController as a rootviewcontroller for different navigation controllers where each of this navigation controllers are embedded in different tabs in a storyboard.

1 Answer 1

1

No, you cannot do that. A view controller can be in the stack of at most one navigation controller.

Sign up to request clarification or add additional context in comments.

1 Comment

@krishh: You are welcome! - If you think that this answers your question, don't forget to "accept" it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.