UIButton setImage setBackgoundImage

setBackgroundImage 会根据button的大小平铺

setImage不会平铺

原文地址:https://www.cnblogs.com/scaptain/p/4029511.html