PDA

View Full Version : pushview in presentmodalviewcontroller




brianchris
Sep 18, 2009, 02:02 PM
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.



dejo
Sep 18, 2009, 03:36 PM
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.