标签: ios swift tableview
如何在 cellForRowAtIndexPath 中切换btw单元格?
我是否必须创建var index = indexpath.row?
var index = indexpath.row
答案 0 :(得分:2)
switch (IndexPath.row) case 0: ///// add code here case 1: //////add code here default: //////add code here }