UITableViewCell添加点击时改变字体的颜色、背景、图标
2015-09-30 18:13
567 查看
改变字体颜色:cell.textLabel.highlightedTextColor
改变背景颜色:cell.selectedBackgroundView (必须是图片哦)
改变图标颜色:cell.imageView.highlightedImage (必须是图片哦)
改变背景颜色:cell.selectedBackgroundView (必须是图片哦)
改变图标颜色:cell.imageView.highlightedImage (必须是图片哦)
相关文章推荐
- UIViewController的生命周期及iOS程序执行顺序
- UI_协议传值
- UIPickerView
- GCD为什么不能在子线程更新UI
- ios中改变UIImagePickerController页面的button的文字为中文
- hdu Can you answer these queries? 线段树成段更新
- UIPickerView
- Android UI法宝的发展Android Action Bar Style Generator
- UILabel字体加粗与倾斜--iOS开发
- iOS:风火轮活动刷新视图控件UIActivityIndicatorView的详细使用
- UIView与CALayer的区别,很详细
- 为UITextView添加通知..来检测UITextView内容的改变
- 获取手机的唯一标示uuid
- bones ui
- request.getAttribute( "result");和request.setAttribute("result",username);
- NSData与UIImage之间的转换
- 《SICP》读书笔记--Chapter 2 Building Abstraction with Data
- CSU 1515 - Sequence (莫队)
- SpriteBuilder物理对象的父子关系
- SpriteBuilder物理对象的父子关系