From the UIStackView Class Reference
In removeArrangedSubview:
To prevent the view from appearing on screen after calling the stack’s removeArrang
To remove a arrangedSubview from a stackview is
// To remove it from the view hierarchy subView.removeFromSuperview()