I have UIStackView
which contains 3 subviews. And it is created via storyboard.
What if I need in some cases replace the middle subview with another one? What is the best way to solve this issue without of recreating the whole stack view programmatically? Both objective-C and Swift solutions are applicable.