On iOS, what are the differences between margins, edge insets, content insets, alignment rects, layout margins, anchors…?

后端 未结 3 1517
独厮守ぢ
独厮守ぢ 2020-12-02 14:14

There seem to be several different options/terms and people in the iOS community use with respect to layout (e.g. UIEdgeInsets is a type, but sometimes I hear/read \"set the

3条回答
  •  遥遥无期
    2020-12-02 15:05

    I hope you will get the info from the following links/pictures.

    You will be able to deduce the required information on layout parameters from below links.

    1. alignment rects.

    2. content inset and offset example 2

    3. margins

提交回复
热议问题