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?enter image description here

Thanks.

有帮助吗?

解决方案

Make sure your Autoresizing positions for the UIStepper are set correctly, the example in the screenshot should align your UIStepper with the UILabel.

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top