UIImageView和UIButton区别
**UIImageView和UIButton区别**
使用场合UIImageView: 如果仅仅是显示图片,不需要监听图片的点击
UIButton: 既要显示图片,又要监听图片的点击
相同:能显示图片
不同点UIButton能处理点击事件, UIImageView不能处理点击事件
UIButton既能显示图片, 又能显示文字
UIButton能同时显示两张图片
UIButton继承自UIContro
原创
2016-10-03 00:28:18 ·
160 阅读 ·
0 评论