UIStackView removeArrangedSubview doesn’t actually remove the subview…
Published in
May 19, 2023
Today I tried calling UIStackView’s removeArrangedSubview()
to remove the red “Hello world” label. I noticed that instead of the view disappearing, it jumps to top left corner instead!
This was in a small sample project. So I’m 100% sure that there’s no code, of mine at least, that is adding it back.