1、选中了tableview的cell的某一行调用的代理方法

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{ }

2、获取cell

  • 2.1 系统cell

    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
  • 2.2 自定义cell

    • 如果你是自定义的话就用下面这种
    MyCustomCell *cell = (MyCustomCell *)[tableView cellForRowAtIndexPath:indexPath];

最新文章

  1. WebForm session,cookies
  2. catalog、scheme区别
  3. spring Integration服务总线
  4. javaweb 在netbeans 上的部署问题
  5. DevSecOps 实施篇!系列(二)
  6. NET笔记——Delegate
  7. C51 库函数(1)
  8. 分布式文件系统及FastDFS
  9. dede的pagelist标签的listsize数字属性详解
  10. Linux Shell 文件描述符 及 stdin stdout stderr 重定向
  11. 一次SQL慢查询的优化处理
  12. Python_排版函数
  13. ssm框架如果想要跨域请求,cors跨域
  14. 初读"Thinking in Java"读书笔记之第四章 ---控制执行流程
  15. debian下 Hadoop 1.0.4 集群配置及运行WordCount
  16. java基础概念整理(三)
  17. Windows下安装Oracle Database 12c Release 1(12.1.0.2.0) - Enterprise Edition
  18. POJ 2728 Desert King(最优比率生成树 01分数规划)
  19. python import 与 from ... import ...
  20. CSS 优先级和特指度

热门文章

  1. Py修行路 python基础 (九)作用域 函数嵌套 闭包
  2. 前端自动化之gulp
  3. leetcode811
  4. Open XML 检索 EXCEL
  5. OK6410 linux系统遇到的BUG总结
  6. copyWithZone详解
  7. Hadoop之MapReduce(二)序列化,排序及分区
  8. IDEA启动缓慢且运行卡顿
  9. unity3d 为什么要烘焙?烘焙作用是为了什么?
  10. jquery动画效果总结