uibutton 的setImage和setBackgroundImage的區別

setImage時若是設置文字,會被圖片蓋掉,若是須要顯示文字,要是用setBackgroundImage。圖片

相關文章
相關標籤/搜索