According to the Apple docs:
The order of the subviews array defines the Z-order of the subviews. If the views overlap, subviews with a lower index appear behind subviews with a higher index.
I can see that this is the case, as I am trying to have its arrangedSubviews manually reordered using sendSubviewToBack
, which is having no effect. How can I adjust the z-order of the arrangedSubviews in a UIStackView?