瀏覽代碼

合成时置灰按钮

harry 3 年之前
父節點
當前提交
366f130678
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Introduce/Record/INVideoExportController.swift

+ 2 - 0
Introduce/Record/INVideoExportController.swift

@@ -73,7 +73,9 @@ class INVideoExportController: BFBaseViewController {
     lazy var completeBtn: UIButton = {
         let btn = UIButton()
         btn.setTitle("完成", for: .normal)
+//        btn.setTitleColor(.white, for: .normal)
         btn.setTitleColor(UIColor.hexColor(hexadecimal: "#B1B1B1"), for: .normal)
+        btn.setTitleColor(.gray, for: .disabled)
         btn.addTarget(self, action: #selector(completeAction), for: .touchUpInside)
         return btn
     }()