我创建表格视图并填充表格动态数据。
如何在单元格和另一个视图之间创建过渡。
Сells 中填充了文件夹文档中的文件名。
我使用故事板。
适用于 iPad 的应用程序。
我创建表格视图并填充表格动态数据。
如何在单元格和另一个视图之间创建过渡。
Сells 中填充了文件夹文档中的文件名。
我使用故事板。
适用于 iPad 的应用程序。
您可以使用以下代码从单元格转换到另一个视图
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
anotherView *obj =[[anotherView alloc]initWithNibName:@"anotherView" bundle:nil];
[self.navigationController pushViewController:obj animated:YES];
[obj release];
}
此方法是 tableview 的委托方法,当您选择任何单元格时,它将被调用并转到另一个视图