UIButton添加到IOS7的UITableviewCell上时Highlighted效果不起作用
UIButton添加到IOS7的UITableviewCell上时Highlighted效果不起作用。在ios6下就highlighted有效果;
我的代码如下:
[_isLoginBtn setBackgroundImage:[UIImage imageWithUIView:_isLoginBtn] forState:UIControlStateHighlighted];
效果图:

我的代码如下:
[_isLoginBtn setBackgroundImage:[UIImage imageWithUIView:_isLoginBtn] forState:UIControlStateHighlighted];
效果图:

...全文
相关推荐
iOS 自定义cell添加UIButton按钮点击实现,代理跟代码块两种方式实现
iOS 自定义UITableViewCell上添加UIButton按钮点击实现,知道点击了是哪个cell上的按钮。用代理跟代码块两种方式实现。
IOS UITableViewCell详解及按钮点击事件处理实例
主要介绍了IOS UITableViewCell详解及按钮点击事件处理实例的相关资料,这里附有示例代码,大家可以看下如何实现按键点击事件,需要的朋友可以参考下
ios-iOS UITableViewCell 单选 Button设置image.zip
iOS UITableViewCell 单选 Button设置image
iOS、UITableViewCell、自定义
UITableViewCell自定义等高
IOS应用源码——UITableViewCell 视图扩展.rar
IOS应用源码——UITableViewCell 视图扩展.rar


