Skip to content
UILayoutPacket

界面 / UILayoutPacket

UILayoutPacket Enumeration
​

自动布局排版规则-排列规则

Table of contents ​

Enumeration Members
​

CenterBottom = 8
CenterCenter = 7
CenterTop = 6
LeftBottom = 2
LeftCenter = 1
LeftTop = 0
RightBottom = 5
RightCenter = 4
RightTop = 3

Enumeration Members ​

CenterBottom
​

• CenterBottom = 8

中下对齐


CenterCenter
​

• CenterCenter = 7

中中对齐


CenterTop
​

• CenterTop = 6

中上对齐


LeftBottom
​

• LeftBottom = 2

左下对齐


LeftCenter
​

• LeftCenter = 1

左中对齐


LeftTop
​

• LeftTop = 0

左上对齐


RightBottom
​

• RightBottom = 5

右下对齐


RightCenter
​

• RightCenter = 4

右中对齐


RightTop
​

• RightTop = 3

右上对齐