bilibili11

Results 2 comments of bilibili11

How do I resolve this constraint situation where the constraint associated with the centerY also crashes if it is applied to the same view

我想请问一下 cardView.snp.makeConstraints { (make) in make.top.equalTo(16.zoom()) make.left.right.equalToSuperview().inset(15.zoom()) make.bottom.equalTo(-26.zoom()) } 这里使用的尺寸应该对应多少尺寸的设计稿为标准 375*667吗,或者是可以指定宽高比?