Skip to content

关于xib上约束 #350

@Liyongcong

Description

@Liyongcong

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会自动布局吗,求解答

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions