UIButton添加到IOS7的UITableviewCell上时Highlighted效果不起作用

来源:互联网 发布:饥荒数据修改 编辑:程序博客网 时间:2024/06/06 19:49
UIButton添加到IOS7的UITableviewCell上时Highlighted效果不起作用。在ios6下就highlighted有效果;
我的代码如下:
    [_isLoginBtn setBackgroundImage:[UIImage imageWithUIView:_isLoginBtn] forState:UIControlStateHighlighted];
效果图:

0 0
原创粉丝点击