pushview in presentmodalviewcontroller

Discussion in 'iOS Programming' started by brianchris, Sep 18, 2009.

  1. brianchris macrumors newbie

    Joined:
    Sep 15, 2009
    #1
    Hi ,

    I have a UITabbarcontroller that has four tabbaritems. Clicking a tabbaritem would open a tableviewcontroller.
    From the table view controller, an add button on the navbar opens a presentmodalviewcontroller. I have a tableview with 4 cells in this page.
    CLicking a cell would push another view using pushviewcontroller. Is there any ways to do this.
    I have been trying this for more time. I couldn't get a solution.
    So anyone with ideas on this, please help me with ur comments and codes(if any).

    Thanks in advance,
    Brian.
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    pushViewController:animated: is an instance method of UINavigationController. So, if you want to use that, you'll need to have a UINavigationController worked into your solution.
     

Share This Page