Bladeren bron

调整 UI

jsonwang 3 jaren geleden
bovenliggende
commit
8ff67fb644
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      Introduce/Record/INRecorderController.swift

+ 3 - 3
Introduce/Record/INRecorderController.swift

@@ -220,7 +220,7 @@ class INRecorderController: BFBaseViewController {
         
 
         titleL.snp.makeConstraints { make in
-            make.bottom.equalTo(photoBtn.snp.top).offset(-50)
+            make.bottom.equalTo(photoBtn.snp.top).offset(-80)
             make.centerX.equalToSuperview()
             make.width.equalTo(cScreenWidth)
             make.height.equalTo(40)
@@ -281,11 +281,11 @@ class INRecorderController: BFBaseViewController {
     override func viewDidLayoutSubviews() {
         var btn = camaraBtn
         btn.imageEdgeInsets = UIEdgeInsets(top: -btn.titleLabel!.height - 2, left: 0, bottom: 0, right: -btn.titleLabel!.width)
-        btn.titleEdgeInsets = UIEdgeInsets(top: btn.imageView!.height + 16, left: -btn.imageView!.width, bottom: 0, right: 0)
+        btn.titleEdgeInsets = UIEdgeInsets(top: btn.imageView!.height + 40, left: -btn.imageView!.width, bottom: 0, right: 0)
         
         btn = photoBtn
         btn.imageEdgeInsets = UIEdgeInsets(top: -btn.titleLabel!.height - 2, left: 0, bottom: 0, right: -btn.titleLabel!.width)
-        btn.titleEdgeInsets = UIEdgeInsets(top: btn.imageView!.height + 16, left: -btn.imageView!.width, bottom: 0, right: 0)
+        btn.titleEdgeInsets = UIEdgeInsets(top: btn.imageView!.height + 40, left: -btn.imageView!.width, bottom: 0, right: 0)
     }
     
     @objc func doneAction() {