I have a stackView set up on storyboard:
@IBOutlet private var stackView: UIStackView!
and two subviews added to it. Given a condition, I want to hide/show them:
primaryButton.isHidden = !hasPrimaryButtonTitle
backwardButton.isHidden = !hasBackwardButtonTitle
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: