在布局的时候,想要在view的左边或下边布置另一个view,可以使用CGRectGetMaxX和CGRectGetMaxY来获取第一个view的坐标,来布局另一个view的origin(原点)
UIView *view = [[UIView alloc] init];
[self.view addSubview:view];
[view mas_makeConstraints:^(MASConstraintMaker *make
在布局的时候,想要在view的左边或下边布置另一个view,可以使用CGRectGetMaxX和CGRectGetMaxY来获取第一个view的坐标,来布局另一个view的origin(原点)
UIView *view = [[UIView alloc] init];
[self.view addSubview:view];
[view mas_makeConstraints:^(MASConstraintMaker *make