Horizontal center constraint issue in ios?

后端 未结 3 1738
借酒劲吻你
借酒劲吻你 2021-01-27 13:31

\"enterI am having hard time in learning constraints & auto-layout in iOS.I have used any-widt

3条回答
  •  深忆病人
    2021-01-27 14:07

    ok check out the image and constraints here...

    enter image description here

    you need to give width and height constraints too....also need to give x and y position of button. so that screen knows the alignment from where to start drawing the button with how much width and height

提交回复
热议问题