I have 2 views in stack view. The spacing value is -15, because I want the second view be under the first view with -15 spacing.
The spacing is ok but the first view is under the second one.
I tried setting the first view zPosition, but it didn't work.
firstViewlayer.zPosition = 1;