[問題] UIButton的image可以aspect fit嗎
請問UIButton的image可以讓他aspect fit嗎
不管我設定哪種contentMode
它的image都會隨著UIButton的大小縮放
有解嗎?
我只有想到用UIImageView
上面再疊一個透明的UIButton
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.55.232
→
07/19 17:57, , 1F
07/19 17:57, 1F
→
07/19 17:58, , 2F
07/19 17:58, 2F