I can't add UIProgressView in StackView

According to this code, I need to add 4 UIProgressViews to the StackView, but only 1 UIProgressView is added to the StackView. I am using Horizontal StackView. Code: class ViewController: UIViewController { @IBOutlet weak var imageView: UIImageView! @IBOutlet weak var stackView: UIStackView! var progressView: UIProgressView = { var view = UIProgressView() view.tintColor = .white view.progress… Read More I can't add UIProgressView in StackView