Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于xib上约束 #350

Open
Liyongcong opened this issue Nov 9, 2021 · 0 comments
Open

关于xib上约束 #350

Liyongcong opened this issue Nov 9, 2021 · 0 comments

Comments

@Liyongcong
Copy link

1901636359619_ pic_hd
你好,如果这tableview的头部headerView布局我用xib去布局,在xib上去约束好最后一个控件距离底部view的距离,然后再用代码去重新设置 self.segmentationLab.sd_layout
.leftSpaceToView(self, 0)
.topSpaceToView(self.shufflingView, 15)
.rightSpaceToView(self, 0)
.heightIs(1);
下最后一个控件的布局,在使用你的[self setupAutoHeightWithBottomView:self.segmentationLab bottomMargin:0];这个方法,这个headerView会自动布局吗,求解答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant