iOS: How to Align The Center of a View With The Bottom of Another View With AutoLayout

前端 未结 6 651
离开以前
离开以前 2021-02-02 15:52

I want to make the center of the head imageView with the bottom of the blue title imageView\'s keep alignment.

How can I do it by using Autolayout?

screen 4.0inc

6条回答
  •  时光说笑
    2021-02-02 16:31

    you have to apply autolayout Constraints with respect to your image not with your view. To get more details https://www.raywenderlich.com/115444/auto-layout-tutorial-in-ios-9-part-2-constraints

提交回复
热议问题