代码
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
// NSString *rowString = [self.list objectAtIndex:[indexPath row]];
// UIAlertView * alter = [[UIAlertView alloc] initWithTitle:@"选中的行信息" message:rowString delegate:self cancelButtonTitle:@"确定" otherButtonTitles:nil, nil];
// [alter show];
QHProCatalogController *trader=[[QHProCatalogController alloc] initWithNibName:nil bundle:nil];
trader.title=@"项目";
[self.navigationController pushViewController:trader animated:YES];
}
想实现点击cell 跳转到详细揭秘,可是就是跳转不过去。
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
// NSString *rowString = [self.list objectAtIndex:[indexPath row]];
// UIAlertView * alter = [[UIAlertView alloc] initWithTitle:@"选中的行信息" message:rowString delegate:self cancelButtonTitle:@"确定" otherButtonTitles:nil, nil];
// [alter show];
QHProCatalogController *trader=[[QHProCatalogController alloc] initWithNibName:nil bundle:nil];
trader.title=@"项目";
[self.navigationController pushViewController:trader animated:YES];
}
想实现点击cell 跳转到详细揭秘,可是就是跳转不过去。