Sfoglia il codice sorgente

合成时置灰按钮

harry 3 anni fa
parent
commit
366f130678
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
     }()