UIStepper Xcode Interface Builder alignment issue
-
31-05-2021 - |
Pregunta
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.
Solución
Make sure your Autoresizing positions for the UIStepper
are set correctly, the example in the screenshot should align your UIStepper
with the UILabel
.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow