jjzjj

RowDetail

全部标签

iphone - 在 didSelectRowAtIndexPath 中以编程方式编辑 Controller 的标题

之前,我试图使用以下代码转到另一个Controller但失败了-(void)tableView:(UITableView*)tableViewdidSelectRowAtIndexPath:(NSIndexPath*)indexPath{RowDetail*rd=[[RowDetailalloc]initWithNibName:@"RowDetail"bundle:nil];if([[allRowobjectAtIndex:indexPath.row]isEqual:@"One"]){[rdsetTitle:[allRowobjectAtIndex:indexPath.row]];}[