Swift设置Button背景图片 2021-08-09 本文已影响0人 wenju btn.setImage(UIImage(named: "bg1"),for: UIControl.State.normal)