2011-07-28 35 views

回答

0

在你didSelectRowAtIndexPath:簡單的地方如下:

NSLog(@"SECTION: %i ROW: %i",indexPath.section,indexPath.row);

1

Indexpathsectionrow成員。因此,您可以使用該屬性並獲取行yourindexpath.row的部分yourindexpath.section

1

在表格視圖中可以使用代表

indexPath.section; indexPath.row 在該部分找到部分和行