UIControl

1     //当遇到button上添加图片,不显示图片,而显示蓝色,解决方案
2     //1.button的类型,改为UIButtonTypeCustom
3     //2.button的set使用setBackgroundImage,不使用setImage
4     //注:实质,UIButtonTypeSystem这种样式,系统内部会对image和titleLabel作处理
相关文章
相关标签/搜索