|
@@ -34,18 +34,17 @@ class PublishConfirmPhotoController: BaseViewController {
|
|
|
|
|
|
override func setupLayouts() {
|
|
|
photoImageView.snp.makeConstraints { (make) in
|
|
|
- make.top.left.right.equalToSuperview()
|
|
|
- make.bottom.equalTo(-kSafeTabBarHeight)
|
|
|
+ make.edges.equalToSuperview()
|
|
|
}
|
|
|
retakeBtn.snp.makeConstraints { (make) in
|
|
|
make.left.equalTo(photoImageView.snp_left)
|
|
|
- make.bottom.equalTo(photoImageView.snp_bottom)
|
|
|
+ make.bottom.equalTo(-kSafeTabBarHeight)
|
|
|
make.width.equalTo(125)
|
|
|
make.height.equalTo(48)
|
|
|
}
|
|
|
usePhotoBtn.snp.makeConstraints { (make) in
|
|
|
make.right.equalTo(photoImageView.snp_right)
|
|
|
- make.bottom.equalTo(photoImageView.snp_bottom)
|
|
|
+ make.bottom.equalTo(-kSafeTabBarHeight)
|
|
|
make.width.equalTo(125)
|
|
|
make.height.equalTo(48)
|
|
|
}
|