Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xcode:检测选定的标识符行_Xcode_Segue_Didselectrowatindexpath - Fatal编程技术网

Xcode:检测选定的标识符行

Xcode:检测选定的标识符行,xcode,segue,didselectrowatindexpath,Xcode,Segue,Didselectrowatindexpath,我的项目在uitableview中包含两个单元格设计并正确显示,但问题是当我选择一行作为传递给detailsviewcontroller时,使用了一个segue 如何检测所选行的标识符? 取决于选定的行。。。在didselectrowatindexpath中,需要重定向到其他详细信息viewcontroller 谢谢大家;) 如果您有权访问所选单元格,您就有权访问它(我在这里为您链接的文档)。请给我一个didSelectRowAtIndexPath类型的示例:If(cell.identifier

我的项目在uitableview中包含两个单元格设计并正确显示,但问题是当我选择一行作为传递给detailsviewcontroller时,使用了一个segue

如何检测所选行的标识符? 取决于选定的行。。。在didselectrowatindexpath中,需要重定向到其他详细信息viewcontroller


谢谢大家;)

如果您有权访问所选单元格,您就有权访问它(我在这里为您链接的文档)。

请给我一个didSelectRowAtIndexPath类型的示例:If(cell.identifier=='Cell1'){}else{}…那么“
If([cell.reuseIdentifier isEqualTo:@“Cell1]”)呢?
”?