import UIKit
class ViewController: UIViewController {
@IBOutlet weak var button: UIButton!
@IBOutlet weak var progressView: UIProgressView!
override func viewDidLoad() {
super.viewDidLoad()
self.button.tintColor = UIColor.red
//tint color 可以改变大部分控件的颜色,但有些则不行
self.progressView.progressTintColor = UIColor.red
}
}
11-18
868