Plz add the TabeleView Delegate and Table View Data source in the header file and implement the standard protocol method , in the didSelect method add code to load ur Detail View. Plz refer iPhone samples TableViewSuit .
Quote:
Originally Posted by ujagtap
Hi everybody,
I have developed following application,
1. Took UITabBarController and UINavigationController in first tab.
2. In first navigation controller i took UISegmentedControl.
3. On segment selection i am changing views.
4. On first segment i am showing UITableView and on second segment i am showing UIImageView.
5. If i select any row from UITableView i want to display details for that row, by calling another ViewController.
But on selection of table cell it is not going ahead.
Please see attached sample code.
In DetailViewController i am calling showDetails() and in that function i am calling pushViewController for SecondTableView but it is not working. Please help.
|