iOS 获取cell

2017-11-28  本文已影响68人  夏天爱西瓜汁

2016.6.27

在table的didSelectRowAtIndexPath方法中

AboutViewCell*cell = [tableViewcellForRowAtIndexPath:indexPath];

NSIndexPath*index = [NSIndexPathindexPathForRow:6inSection:0];

QRCodeCell*cell = [self.schoolTablecellForRowAtIndexPath:index];

row  :  第几个cell   section: 第几个区

上一篇下一篇

猜你喜欢

热点阅读