When a user clicks on a开发者_如何学Python cell in table , the view should switch to a tabbed view.
The content on each of the tabs will be different depending on which cell the user selects.
How can I make something like this?
Seems you need navigation based application. Read the tutorial
Shortly: create UINavigationController, add your table controller as a root controller of the navigation controller. Then in tableView:didSelectRowAtIndexPath:
just push your tab controller into the navigation controller.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[self.navigationController pushViewController:tabViewController animated:YES];
}
精彩评论