I looked at UIStackView and I don’t understand how it can be used with the Resize class. I would like to have imageView and 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 change the orientation of the stack. Is it correct?
source
share