码迷,mamicode.com
首页 > 其他好文 > 详细

设置UItableViewCell最右边类型

时间:2016-01-12 11:57:31      阅读:488      评论:0      收藏:0      [点我收藏+]

标签:

  1. cell.accessoryType = UITableViewCellAccessoryNone;//cell没有任何的样式  
  2. cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;//cell的右边有一个小箭头,距离右边有十几像素;  
  3. cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton;//cell右边有一个蓝色的圆形button;(圆圈加感叹号) 
  4. cell.accessoryType = UITableViewCellAccessoryCheckmark;//cell右边的形状是对号;
  5. 技术分享
  6. 以后用到这些不需要自己在cell.textlabel.text里面手写>符号了
  7. 参考地址为:http://blog.csdn.net/chenyong05314/article/details/9237673

设置UItableViewCell最右边类型

标签:

原文地址:http://www.cnblogs.com/xsiOS/p/5123691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!