I looked at UIStackView and I don't understand how it can be used with the Resize Class. I would like to have a imageView and a textView inside stackView in vertical (portrait) mode. I would also like to have the same thing, but in horizontal (landscape) mode.
I can detect the rotation and I change the orientation of the stack. Is this correct?