Navigation Based Application with TabBar

后端 未结 3 1561
醉梦人生
醉梦人生 2021-01-14 06:50

I have a Navigation-Based Application that shows a TableView where you can select a cell and it brings you to a \"Detail View\" for that cell. I want this view to then have

3条回答
  •  时光说笑
    2021-01-14 07:22

    I'm trying to do this very same thing. The application "Tweetie" is doing something similar. They have a TableView of accounts and then you select an account and TabBar appears.

    Anyways, straight from Apple's Documentation:

    pushViewController:animated: Pushes a view controller onto the receiver’s stack and updates the display.

    • (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated

    Parameters viewController The view controller that is pushed onto the stack. It cannot be an instance of tab bar controller. This method does nothing if the view controller is already on the stack.

    animated Set this value to YES to animate the transition. Pass NO if you are setting up a navigation controller before its view is displayed.

    So maybe we're just stuck using a TabBar and not a TabBarController?

    -JP

提交回复
热议问题