模仿支付寶支付按鈕動畫效果——swift

先來看看效果 首先重載UIButton,重載不用寫override     init(frame: CGRect, backgroundColor: UIColor) {         super.init(frame: frame)         self.backgroundColor = backgroundColor         self.setTitle("當即付款", for:
相關文章
相關標籤/搜索