2016.11.8
首先定義一個變量,isOpen,表示是否展開
默認是關閉的,即isOpen = NO;
定義一個變量,selectedIndex,表示點擊的是哪個cell
每條數(shù)據(jù)在一個數(shù)組中,遍歷這個數(shù)組,
selectedIndex =
[NSIndexPathindexPathForRow:iinSection:0];
2016.11.8
首先定義一個變量,isOpen,表示是否展開
默認是關閉的,即isOpen = NO;
定義一個變量,selectedIndex,表示點擊的是哪個cell
每條數(shù)據(jù)在一個數(shù)組中,遍歷這個數(shù)組,
selectedIndex =
[NSIndexPathindexPathForRow:iinSection:0];