|
@@ -382,25 +382,26 @@ extension TSPTPInputVC {
|
|
|
}
|
|
|
|
|
|
func setUpCusStackView() {
|
|
|
- let uploadPhotoTitleView = TSTitleView.creatTitleView(title: "Upload Photo".localized, subTitle: "")
|
|
|
- cusStackView.addSubviewToStack(uploadPhotoTitleView)
|
|
|
- uploadPhotoTitleView.snp.makeConstraints { make in
|
|
|
- make.height.equalTo(uploadPhotoTitleView.viewH)
|
|
|
- make.width.equalTo(k_ScreenWidth)
|
|
|
- }
|
|
|
-
|
|
|
- let hintBtn = TSUIExpandedTouchButton()
|
|
|
- hintBtn.setUpButton(image: UIImage(named: "ptp_hint")) { [weak self] in
|
|
|
- guard let self = self else { return }
|
|
|
- presentModalHintVC()
|
|
|
- }
|
|
|
- uploadPhotoTitleView.contentView.addSubview(hintBtn)
|
|
|
- hintBtn.snp.makeConstraints { make in
|
|
|
- make.centerY.equalToSuperview().offset(kSectionTitleViewCenterYOffset)
|
|
|
- make.trailing.equalTo(-16)
|
|
|
- make.width.height.equalTo(16)
|
|
|
- }
|
|
|
-
|
|
|
+// let uploadPhotoTitleView = TSTitleView.creatTitleView(title: "Upload Photo".localized, subTitle: "")
|
|
|
+// cusStackView.addSubviewToStack(uploadPhotoTitleView)
|
|
|
+// uploadPhotoTitleView.snp.makeConstraints { make in
|
|
|
+// make.height.equalTo(uploadPhotoTitleView.viewH)
|
|
|
+// make.width.equalTo(k_ScreenWidth)
|
|
|
+// }
|
|
|
+//
|
|
|
+// let hintBtn = TSUIExpandedTouchButton()
|
|
|
+// hintBtn.setUpButton(image: UIImage(named: "ptp_hint")) { [weak self] in
|
|
|
+// guard let self = self else { return }
|
|
|
+// presentModalHintVC()
|
|
|
+// }
|
|
|
+// uploadPhotoTitleView.contentView.addSubview(hintBtn)
|
|
|
+// hintBtn.snp.makeConstraints { make in
|
|
|
+// make.centerY.equalToSuperview().offset(kSectionTitleViewCenterYOffset)
|
|
|
+// make.trailing.equalTo(-16)
|
|
|
+// make.width.height.equalTo(16)
|
|
|
+// }
|
|
|
+
|
|
|
+ cusStackView.addSpacing(length: 10)
|
|
|
cusStackView.addSubviewToStack(uploadView)
|
|
|
uploadView.snp.makeConstraints { make in
|
|
|
make.height.equalTo(uploadView.viewH)
|