UIStepper Xcode Interface Builder alignment issue
-
31-05-2021 - |
質問
I'm not sure why but when I try to align my UIStepper in IB in line with my label, it is not inline when I run it. So I have to adjust my UIStepper a lot lower than my labels in order to get it alined. Please see the picture:
Does anyone know why?
Thanks.
解決
Make sure your Autoresizing positions for the UIStepper
are set correctly, the example in the screenshot should align your UIStepper
with the UILabel
.
所属していません StackOverflow